modernc.org/libc@v1.24.1/unistd/unistd_linux_s390x.go (about)

     1  // Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o unistd/unistd_linux_s390x.go -pkgname unistd', DO NOT EDIT.
     2  
     3  package unistd
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  )
    11  
    12  var _ = math.Pi
    13  var _ reflect.Kind
    14  var _ atomic.Value
    15  var _ unsafe.Pointer
    16  
    17  const (
    18  	F_LOCK                             = 1
    19  	F_OK                               = 0
    20  	F_TEST                             = 3
    21  	F_TLOCK                            = 2
    22  	F_ULOCK                            = 0
    23  	L_INCR                             = 1
    24  	L_SET                              = 0
    25  	L_XTND                             = 2
    26  	R_OK                               = 4
    27  	SEEK_CUR                           = 1
    28  	SEEK_END                           = 2
    29  	SEEK_SET                           = 0
    30  	STDERR_FILENO                      = 2
    31  	STDIN_FILENO                       = 0
    32  	STDOUT_FILENO                      = 1
    33  	W_OK                               = 2
    34  	X_OK                               = 1
    35  	X_ATFILE_SOURCE                    = 1
    36  	X_BITS_POSIX_OPT_H                 = 1
    37  	X_BITS_TIME64_H                    = 1
    38  	X_BITS_TYPESIZES_H                 = 1
    39  	X_BITS_TYPES_H                     = 1
    40  	X_BSD_SIZE_T_                      = 0
    41  	X_BSD_SIZE_T_DEFINED_              = 0
    42  	X_DEFAULT_SOURCE                   = 1
    43  	X_FEATURES_H                       = 1
    44  	X_FILE_OFFSET_BITS                 = 64
    45  	X_GCC_SIZE_T                       = 0
    46  	X_GETOPT_CORE_H                    = 1
    47  	X_GETOPT_POSIX_H                   = 1
    48  	X_LFS64_ASYNCHRONOUS_IO            = 1
    49  	X_LFS64_LARGEFILE                  = 1
    50  	X_LFS64_STDIO                      = 1
    51  	X_LFS_ASYNCHRONOUS_IO              = 1
    52  	X_LFS_LARGEFILE                    = 1
    53  	X_LP64                             = 1
    54  	X_POSIX2_CHAR_TERM                 = 200809
    55  	X_POSIX2_C_BIND                    = 200809
    56  	X_POSIX2_C_DEV                     = 200809
    57  	X_POSIX2_C_VERSION                 = 200809
    58  	X_POSIX2_LOCALEDEF                 = 200809
    59  	X_POSIX2_SW_DEV                    = 200809
    60  	X_POSIX2_VERSION                   = 200809
    61  	X_POSIX_ADVISORY_INFO              = 200809
    62  	X_POSIX_ASYNCHRONOUS_IO            = 200809
    63  	X_POSIX_ASYNC_IO                   = 1
    64  	X_POSIX_BARRIERS                   = 200809
    65  	X_POSIX_CHOWN_RESTRICTED           = 0
    66  	X_POSIX_CLOCK_SELECTION            = 200809
    67  	X_POSIX_CPUTIME                    = 0
    68  	X_POSIX_C_SOURCE                   = 200809
    69  	X_POSIX_FSYNC                      = 200809
    70  	X_POSIX_IPV6                       = 200809
    71  	X_POSIX_JOB_CONTROL                = 1
    72  	X_POSIX_MAPPED_FILES               = 200809
    73  	X_POSIX_MEMLOCK                    = 200809
    74  	X_POSIX_MEMLOCK_RANGE              = 200809
    75  	X_POSIX_MEMORY_PROTECTION          = 200809
    76  	X_POSIX_MESSAGE_PASSING            = 200809
    77  	X_POSIX_MONOTONIC_CLOCK            = 0
    78  	X_POSIX_NO_TRUNC                   = 1
    79  	X_POSIX_PRIORITIZED_IO             = 200809
    80  	X_POSIX_PRIORITY_SCHEDULING        = 200809
    81  	X_POSIX_RAW_SOCKETS                = 200809
    82  	X_POSIX_READER_WRITER_LOCKS        = 200809
    83  	X_POSIX_REALTIME_SIGNALS           = 200809
    84  	X_POSIX_REENTRANT_FUNCTIONS        = 1
    85  	X_POSIX_REGEXP                     = 1
    86  	X_POSIX_SAVED_IDS                  = 1
    87  	X_POSIX_SEMAPHORES                 = 200809
    88  	X_POSIX_SHARED_MEMORY_OBJECTS      = 200809
    89  	X_POSIX_SHELL                      = 1
    90  	X_POSIX_SOURCE                     = 1
    91  	X_POSIX_SPAWN                      = 200809
    92  	X_POSIX_SPIN_LOCKS                 = 200809
    93  	X_POSIX_SPORADIC_SERVER            = -1
    94  	X_POSIX_SYNCHRONIZED_IO            = 200809
    95  	X_POSIX_THREADS                    = 200809
    96  	X_POSIX_THREAD_ATTR_STACKADDR      = 200809
    97  	X_POSIX_THREAD_ATTR_STACKSIZE      = 200809
    98  	X_POSIX_THREAD_CPUTIME             = 0
    99  	X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809
   100  	X_POSIX_THREAD_PRIO_INHERIT        = 200809
   101  	X_POSIX_THREAD_PRIO_PROTECT        = 200809
   102  	X_POSIX_THREAD_PROCESS_SHARED      = 200809
   103  	X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809
   104  	X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1
   105  	X_POSIX_THREAD_SAFE_FUNCTIONS      = 200809
   106  	X_POSIX_THREAD_SPORADIC_SERVER     = -1
   107  	X_POSIX_TIMEOUTS                   = 200809
   108  	X_POSIX_TIMERS                     = 200809
   109  	X_POSIX_TRACE                      = -1
   110  	X_POSIX_TRACE_EVENT_FILTER         = -1
   111  	X_POSIX_TRACE_INHERIT              = -1
   112  	X_POSIX_TRACE_LOG                  = -1
   113  	X_POSIX_TYPED_MEMORY_OBJECTS       = -1
   114  	X_POSIX_V6_LP64_OFF64              = 1
   115  	X_POSIX_V6_LPBIG_OFFBIG            = -1
   116  	X_POSIX_V7_LP64_OFF64              = 1
   117  	X_POSIX_V7_LPBIG_OFFBIG            = -1
   118  	X_POSIX_VDISABLE                   = 0
   119  	X_POSIX_VERSION                    = 200809
   120  	X_SIZET_                           = 0
   121  	X_SIZE_T                           = 0
   122  	X_SIZE_T_                          = 0
   123  	X_SIZE_T_DECLARED                  = 0
   124  	X_SIZE_T_DEFINED                   = 0
   125  	X_SIZE_T_DEFINED_                  = 0
   126  	X_STDC_PREDEF_H                    = 1
   127  	X_SYS_CDEFS_H                      = 1
   128  	X_SYS_SIZE_T_H                     = 0
   129  	X_T_SIZE                           = 0
   130  	X_T_SIZE_                          = 0
   131  	X_UNISTD_H                         = 1
   132  	X_XBS5_LP64_OFF64                  = 1
   133  	X_XBS5_LPBIG_OFFBIG                = -1
   134  	X_XOPEN_ENH_I18N                   = 1
   135  	X_XOPEN_LEGACY                     = 1
   136  	X_XOPEN_REALTIME                   = 1
   137  	X_XOPEN_REALTIME_THREADS           = 1
   138  	X_XOPEN_SHM                        = 1
   139  	X_XOPEN_UNIX                       = 1
   140  	X_XOPEN_VERSION                    = 700
   141  	X_XOPEN_XCU_VERSION                = 4
   142  	X_XOPEN_XPG2                       = 1
   143  	X_XOPEN_XPG3                       = 1
   144  	X_XOPEN_XPG4                       = 1
   145  	Linux                              = 1
   146  	Unix                               = 1
   147  )
   148  
   149  // Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
   150  //    the `_SC_*' symbols for the NAME argument to `sysconf';
   151  //    and the `_CS_*' symbols for the NAME argument to `confstr'.
   152  // `sysconf', `pathconf', and `confstr' NAME values.  Generic version.
   153  //    Copyright (C) 1993-2020 Free Software Foundation, Inc.
   154  //    This file is part of the GNU C Library.
   155  //
   156  //    The GNU C Library is free software; you can redistribute it and/or
   157  //    modify it under the terms of the GNU Lesser General Public
   158  //    License as published by the Free Software Foundation; either
   159  //    version 2.1 of the License, or (at your option) any later version.
   160  //
   161  //    The GNU C Library is distributed in the hope that it will be useful,
   162  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   163  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   164  //    Lesser General Public License for more details.
   165  //
   166  //    You should have received a copy of the GNU Lesser General Public
   167  //    License along with the GNU C Library; if not, see
   168  //    <https://www.gnu.org/licenses/>.
   169  
   170  // Values for the NAME argument to `pathconf' and `fpathconf'.
   171  const ( /* confname.h:24:1: */
   172  	X_PC_LINK_MAX           = 0
   173  	X_PC_MAX_CANON          = 1
   174  	X_PC_MAX_INPUT          = 2
   175  	X_PC_NAME_MAX           = 3
   176  	X_PC_PATH_MAX           = 4
   177  	X_PC_PIPE_BUF           = 5
   178  	X_PC_CHOWN_RESTRICTED   = 6
   179  	X_PC_NO_TRUNC           = 7
   180  	X_PC_VDISABLE           = 8
   181  	X_PC_SYNC_IO            = 9
   182  	X_PC_ASYNC_IO           = 10
   183  	X_PC_PRIO_IO            = 11
   184  	X_PC_SOCK_MAXBUF        = 12
   185  	X_PC_FILESIZEBITS       = 13
   186  	X_PC_REC_INCR_XFER_SIZE = 14
   187  	X_PC_REC_MAX_XFER_SIZE  = 15
   188  	X_PC_REC_MIN_XFER_SIZE  = 16
   189  	X_PC_REC_XFER_ALIGN     = 17
   190  	X_PC_ALLOC_SIZE_MIN     = 18
   191  	X_PC_SYMLINK_MAX        = 19
   192  	X_PC_2_SYMLINKS         = 20
   193  )
   194  
   195  // Values for the NAME argument to `confstr'.
   196  const ( /* confname.h:533:1: */
   197  	X_CS_PATH = 0 // The default search path.
   198  
   199  	X_CS_V6_WIDTH_RESTRICTED_ENVS = 1
   200  
   201  	X_CS_GNU_LIBC_VERSION       = 2
   202  	X_CS_GNU_LIBPTHREAD_VERSION = 3
   203  
   204  	X_CS_V5_WIDTH_RESTRICTED_ENVS = 4
   205  
   206  	X_CS_V7_WIDTH_RESTRICTED_ENVS = 5
   207  
   208  	X_CS_LFS_CFLAGS      = 1000
   209  	X_CS_LFS_LDFLAGS     = 1001
   210  	X_CS_LFS_LIBS        = 1002
   211  	X_CS_LFS_LINTFLAGS   = 1003
   212  	X_CS_LFS64_CFLAGS    = 1004
   213  	X_CS_LFS64_LDFLAGS   = 1005
   214  	X_CS_LFS64_LIBS      = 1006
   215  	X_CS_LFS64_LINTFLAGS = 1007
   216  
   217  	X_CS_XBS5_ILP32_OFF32_CFLAGS     = 1100
   218  	X_CS_XBS5_ILP32_OFF32_LDFLAGS    = 1101
   219  	X_CS_XBS5_ILP32_OFF32_LIBS       = 1102
   220  	X_CS_XBS5_ILP32_OFF32_LINTFLAGS  = 1103
   221  	X_CS_XBS5_ILP32_OFFBIG_CFLAGS    = 1104
   222  	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS   = 1105
   223  	X_CS_XBS5_ILP32_OFFBIG_LIBS      = 1106
   224  	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107
   225  	X_CS_XBS5_LP64_OFF64_CFLAGS      = 1108
   226  	X_CS_XBS5_LP64_OFF64_LDFLAGS     = 1109
   227  	X_CS_XBS5_LP64_OFF64_LIBS        = 1110
   228  	X_CS_XBS5_LP64_OFF64_LINTFLAGS   = 1111
   229  	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS    = 1112
   230  	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS   = 1113
   231  	X_CS_XBS5_LPBIG_OFFBIG_LIBS      = 1114
   232  	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115
   233  
   234  	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS     = 1116
   235  	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS    = 1117
   236  	X_CS_POSIX_V6_ILP32_OFF32_LIBS       = 1118
   237  	X_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS  = 1119
   238  	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS    = 1120
   239  	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS   = 1121
   240  	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS      = 1122
   241  	X_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123
   242  	X_CS_POSIX_V6_LP64_OFF64_CFLAGS      = 1124
   243  	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS     = 1125
   244  	X_CS_POSIX_V6_LP64_OFF64_LIBS        = 1126
   245  	X_CS_POSIX_V6_LP64_OFF64_LINTFLAGS   = 1127
   246  	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS    = 1128
   247  	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS   = 1129
   248  	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS      = 1130
   249  	X_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131
   250  
   251  	X_CS_POSIX_V7_ILP32_OFF32_CFLAGS     = 1132
   252  	X_CS_POSIX_V7_ILP32_OFF32_LDFLAGS    = 1133
   253  	X_CS_POSIX_V7_ILP32_OFF32_LIBS       = 1134
   254  	X_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS  = 1135
   255  	X_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS    = 1136
   256  	X_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS   = 1137
   257  	X_CS_POSIX_V7_ILP32_OFFBIG_LIBS      = 1138
   258  	X_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139
   259  	X_CS_POSIX_V7_LP64_OFF64_CFLAGS      = 1140
   260  	X_CS_POSIX_V7_LP64_OFF64_LDFLAGS     = 1141
   261  	X_CS_POSIX_V7_LP64_OFF64_LIBS        = 1142
   262  	X_CS_POSIX_V7_LP64_OFF64_LINTFLAGS   = 1143
   263  	X_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS    = 1144
   264  	X_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS   = 1145
   265  	X_CS_POSIX_V7_LPBIG_OFFBIG_LIBS      = 1146
   266  	X_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147
   267  
   268  	X_CS_V6_ENV = 1148
   269  	X_CS_V7_ENV = 1149
   270  )
   271  
   272  // Values for the argument to `sysconf'.
   273  const ( /* confname.h:71:1: */
   274  	X_SC_ARG_MAX               = 0
   275  	X_SC_CHILD_MAX             = 1
   276  	X_SC_CLK_TCK               = 2
   277  	X_SC_NGROUPS_MAX           = 3
   278  	X_SC_OPEN_MAX              = 4
   279  	X_SC_STREAM_MAX            = 5
   280  	X_SC_TZNAME_MAX            = 6
   281  	X_SC_JOB_CONTROL           = 7
   282  	X_SC_SAVED_IDS             = 8
   283  	X_SC_REALTIME_SIGNALS      = 9
   284  	X_SC_PRIORITY_SCHEDULING   = 10
   285  	X_SC_TIMERS                = 11
   286  	X_SC_ASYNCHRONOUS_IO       = 12
   287  	X_SC_PRIORITIZED_IO        = 13
   288  	X_SC_SYNCHRONIZED_IO       = 14
   289  	X_SC_FSYNC                 = 15
   290  	X_SC_MAPPED_FILES          = 16
   291  	X_SC_MEMLOCK               = 17
   292  	X_SC_MEMLOCK_RANGE         = 18
   293  	X_SC_MEMORY_PROTECTION     = 19
   294  	X_SC_MESSAGE_PASSING       = 20
   295  	X_SC_SEMAPHORES            = 21
   296  	X_SC_SHARED_MEMORY_OBJECTS = 22
   297  	X_SC_AIO_LISTIO_MAX        = 23
   298  	X_SC_AIO_MAX               = 24
   299  	X_SC_AIO_PRIO_DELTA_MAX    = 25
   300  	X_SC_DELAYTIMER_MAX        = 26
   301  	X_SC_MQ_OPEN_MAX           = 27
   302  	X_SC_MQ_PRIO_MAX           = 28
   303  	X_SC_VERSION               = 29
   304  	X_SC_PAGESIZE              = 30
   305  	X_SC_RTSIG_MAX             = 31
   306  	X_SC_SEM_NSEMS_MAX         = 32
   307  	X_SC_SEM_VALUE_MAX         = 33
   308  	X_SC_SIGQUEUE_MAX          = 34
   309  	X_SC_TIMER_MAX             = 35
   310  
   311  	// Values for the argument to `sysconf'
   312  	//        corresponding to _POSIX2_* symbols.
   313  	X_SC_BC_BASE_MAX        = 36
   314  	X_SC_BC_DIM_MAX         = 37
   315  	X_SC_BC_SCALE_MAX       = 38
   316  	X_SC_BC_STRING_MAX      = 39
   317  	X_SC_COLL_WEIGHTS_MAX   = 40
   318  	X_SC_EQUIV_CLASS_MAX    = 41
   319  	X_SC_EXPR_NEST_MAX      = 42
   320  	X_SC_LINE_MAX           = 43
   321  	X_SC_RE_DUP_MAX         = 44
   322  	X_SC_CHARCLASS_NAME_MAX = 45
   323  
   324  	X_SC_2_VERSION   = 46
   325  	X_SC_2_C_BIND    = 47
   326  	X_SC_2_C_DEV     = 48
   327  	X_SC_2_FORT_DEV  = 49
   328  	X_SC_2_FORT_RUN  = 50
   329  	X_SC_2_SW_DEV    = 51
   330  	X_SC_2_LOCALEDEF = 52
   331  
   332  	X_SC_PII                 = 53
   333  	X_SC_PII_XTI             = 54
   334  	X_SC_PII_SOCKET          = 55
   335  	X_SC_PII_INTERNET        = 56
   336  	X_SC_PII_OSI             = 57
   337  	X_SC_POLL                = 58
   338  	X_SC_SELECT              = 59
   339  	X_SC_UIO_MAXIOV          = 60
   340  	X_SC_IOV_MAX             = 60
   341  	X_SC_PII_INTERNET_STREAM = 61
   342  	X_SC_PII_INTERNET_DGRAM  = 62
   343  	X_SC_PII_OSI_COTS        = 63
   344  	X_SC_PII_OSI_CLTS        = 64
   345  	X_SC_PII_OSI_M           = 65
   346  	X_SC_T_IOV_MAX           = 66
   347  
   348  	// Values according to POSIX 1003.1c (POSIX threads).
   349  	X_SC_THREADS                      = 67
   350  	X_SC_THREAD_SAFE_FUNCTIONS        = 68
   351  	X_SC_GETGR_R_SIZE_MAX             = 69
   352  	X_SC_GETPW_R_SIZE_MAX             = 70
   353  	X_SC_LOGIN_NAME_MAX               = 71
   354  	X_SC_TTY_NAME_MAX                 = 72
   355  	X_SC_THREAD_DESTRUCTOR_ITERATIONS = 73
   356  	X_SC_THREAD_KEYS_MAX              = 74
   357  	X_SC_THREAD_STACK_MIN             = 75
   358  	X_SC_THREAD_THREADS_MAX           = 76
   359  	X_SC_THREAD_ATTR_STACKADDR        = 77
   360  	X_SC_THREAD_ATTR_STACKSIZE        = 78
   361  	X_SC_THREAD_PRIORITY_SCHEDULING   = 79
   362  	X_SC_THREAD_PRIO_INHERIT          = 80
   363  	X_SC_THREAD_PRIO_PROTECT          = 81
   364  	X_SC_THREAD_PROCESS_SHARED        = 82
   365  
   366  	X_SC_NPROCESSORS_CONF = 83
   367  	X_SC_NPROCESSORS_ONLN = 84
   368  	X_SC_PHYS_PAGES       = 85
   369  	X_SC_AVPHYS_PAGES     = 86
   370  	X_SC_ATEXIT_MAX       = 87
   371  	X_SC_PASS_MAX         = 88
   372  
   373  	X_SC_XOPEN_VERSION     = 89
   374  	X_SC_XOPEN_XCU_VERSION = 90
   375  	X_SC_XOPEN_UNIX        = 91
   376  	X_SC_XOPEN_CRYPT       = 92
   377  	X_SC_XOPEN_ENH_I18N    = 93
   378  	X_SC_XOPEN_SHM         = 94
   379  
   380  	X_SC_2_CHAR_TERM = 95
   381  	X_SC_2_C_VERSION = 96
   382  	X_SC_2_UPE       = 97
   383  
   384  	X_SC_XOPEN_XPG2 = 98
   385  	X_SC_XOPEN_XPG3 = 99
   386  	X_SC_XOPEN_XPG4 = 100
   387  
   388  	X_SC_CHAR_BIT   = 101
   389  	X_SC_CHAR_MAX   = 102
   390  	X_SC_CHAR_MIN   = 103
   391  	X_SC_INT_MAX    = 104
   392  	X_SC_INT_MIN    = 105
   393  	X_SC_LONG_BIT   = 106
   394  	X_SC_WORD_BIT   = 107
   395  	X_SC_MB_LEN_MAX = 108
   396  	X_SC_NZERO      = 109
   397  	X_SC_SSIZE_MAX  = 110
   398  	X_SC_SCHAR_MAX  = 111
   399  	X_SC_SCHAR_MIN  = 112
   400  	X_SC_SHRT_MAX   = 113
   401  	X_SC_SHRT_MIN   = 114
   402  	X_SC_UCHAR_MAX  = 115
   403  	X_SC_UINT_MAX   = 116
   404  	X_SC_ULONG_MAX  = 117
   405  	X_SC_USHRT_MAX  = 118
   406  
   407  	X_SC_NL_ARGMAX  = 119
   408  	X_SC_NL_LANGMAX = 120
   409  	X_SC_NL_MSGMAX  = 121
   410  	X_SC_NL_NMAX    = 122
   411  	X_SC_NL_SETMAX  = 123
   412  	X_SC_NL_TEXTMAX = 124
   413  
   414  	X_SC_XBS5_ILP32_OFF32  = 125
   415  	X_SC_XBS5_ILP32_OFFBIG = 126
   416  	X_SC_XBS5_LP64_OFF64   = 127
   417  	X_SC_XBS5_LPBIG_OFFBIG = 128
   418  
   419  	X_SC_XOPEN_LEGACY           = 129
   420  	X_SC_XOPEN_REALTIME         = 130
   421  	X_SC_XOPEN_REALTIME_THREADS = 131
   422  
   423  	X_SC_ADVISORY_INFO          = 132
   424  	X_SC_BARRIERS               = 133
   425  	X_SC_BASE                   = 134
   426  	X_SC_C_LANG_SUPPORT         = 135
   427  	X_SC_C_LANG_SUPPORT_R       = 136
   428  	X_SC_CLOCK_SELECTION        = 137
   429  	X_SC_CPUTIME                = 138
   430  	X_SC_THREAD_CPUTIME         = 139
   431  	X_SC_DEVICE_IO              = 140
   432  	X_SC_DEVICE_SPECIFIC        = 141
   433  	X_SC_DEVICE_SPECIFIC_R      = 142
   434  	X_SC_FD_MGMT                = 143
   435  	X_SC_FIFO                   = 144
   436  	X_SC_PIPE                   = 145
   437  	X_SC_FILE_ATTRIBUTES        = 146
   438  	X_SC_FILE_LOCKING           = 147
   439  	X_SC_FILE_SYSTEM            = 148
   440  	X_SC_MONOTONIC_CLOCK        = 149
   441  	X_SC_MULTI_PROCESS          = 150
   442  	X_SC_SINGLE_PROCESS         = 151
   443  	X_SC_NETWORKING             = 152
   444  	X_SC_READER_WRITER_LOCKS    = 153
   445  	X_SC_SPIN_LOCKS             = 154
   446  	X_SC_REGEXP                 = 155
   447  	X_SC_REGEX_VERSION          = 156
   448  	X_SC_SHELL                  = 157
   449  	X_SC_SIGNALS                = 158
   450  	X_SC_SPAWN                  = 159
   451  	X_SC_SPORADIC_SERVER        = 160
   452  	X_SC_THREAD_SPORADIC_SERVER = 161
   453  	X_SC_SYSTEM_DATABASE        = 162
   454  	X_SC_SYSTEM_DATABASE_R      = 163
   455  	X_SC_TIMEOUTS               = 164
   456  	X_SC_TYPED_MEMORY_OBJECTS   = 165
   457  	X_SC_USER_GROUPS            = 166
   458  	X_SC_USER_GROUPS_R          = 167
   459  	X_SC_2_PBS                  = 168
   460  	X_SC_2_PBS_ACCOUNTING       = 169
   461  	X_SC_2_PBS_LOCATE           = 170
   462  	X_SC_2_PBS_MESSAGE          = 171
   463  	X_SC_2_PBS_TRACK            = 172
   464  	X_SC_SYMLOOP_MAX            = 173
   465  	X_SC_STREAMS                = 174
   466  	X_SC_2_PBS_CHECKPOINT       = 175
   467  
   468  	X_SC_V6_ILP32_OFF32  = 176
   469  	X_SC_V6_ILP32_OFFBIG = 177
   470  	X_SC_V6_LP64_OFF64   = 178
   471  	X_SC_V6_LPBIG_OFFBIG = 179
   472  
   473  	X_SC_HOST_NAME_MAX      = 180
   474  	X_SC_TRACE              = 181
   475  	X_SC_TRACE_EVENT_FILTER = 182
   476  	X_SC_TRACE_INHERIT      = 183
   477  	X_SC_TRACE_LOG          = 184
   478  
   479  	X_SC_LEVEL1_ICACHE_SIZE     = 185
   480  	X_SC_LEVEL1_ICACHE_ASSOC    = 186
   481  	X_SC_LEVEL1_ICACHE_LINESIZE = 187
   482  	X_SC_LEVEL1_DCACHE_SIZE     = 188
   483  	X_SC_LEVEL1_DCACHE_ASSOC    = 189
   484  	X_SC_LEVEL1_DCACHE_LINESIZE = 190
   485  	X_SC_LEVEL2_CACHE_SIZE      = 191
   486  	X_SC_LEVEL2_CACHE_ASSOC     = 192
   487  	X_SC_LEVEL2_CACHE_LINESIZE  = 193
   488  	X_SC_LEVEL3_CACHE_SIZE      = 194
   489  	X_SC_LEVEL3_CACHE_ASSOC     = 195
   490  	X_SC_LEVEL3_CACHE_LINESIZE  = 196
   491  	X_SC_LEVEL4_CACHE_SIZE      = 197
   492  	X_SC_LEVEL4_CACHE_ASSOC     = 198
   493  	X_SC_LEVEL4_CACHE_LINESIZE  = 199
   494  	// Leave room here, maybe we need a few more cache levels some day.
   495  
   496  	X_SC_IPV6        = 235
   497  	X_SC_RAW_SOCKETS = 236
   498  
   499  	X_SC_V7_ILP32_OFF32  = 237
   500  	X_SC_V7_ILP32_OFFBIG = 238
   501  	X_SC_V7_LP64_OFF64   = 239
   502  	X_SC_V7_LPBIG_OFFBIG = 240
   503  
   504  	X_SC_SS_REPL_MAX = 241
   505  
   506  	X_SC_TRACE_EVENT_NAME_MAX = 242
   507  	X_SC_TRACE_NAME_MAX       = 243
   508  	X_SC_TRACE_SYS_MAX        = 244
   509  	X_SC_TRACE_USER_EVENT_MAX = 245
   510  
   511  	X_SC_XOPEN_STREAMS = 246
   512  
   513  	X_SC_THREAD_ROBUST_PRIO_INHERIT = 247
   514  	X_SC_THREAD_ROBUST_PRIO_PROTECT = 248
   515  )
   516  
   517  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   518  
   519  type Size_t = uint64 /* <builtin>:9:23 */
   520  
   521  type Wchar_t = int32 /* <builtin>:15:24 */
   522  
   523  type X__int128_t = struct {
   524  	Flo int64
   525  	Fhi int64
   526  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   527  type X__uint128_t = struct {
   528  	Flo uint64
   529  	Fhi uint64
   530  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   531  
   532  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   533  type X__float128 = float64        /* <builtin>:47:21 */
   534  
   535  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
   536  //    This file is part of the GNU C Library.
   537  //
   538  //    The GNU C Library is free software; you can redistribute it and/or
   539  //    modify it under the terms of the GNU Lesser General Public
   540  //    License as published by the Free Software Foundation; either
   541  //    version 2.1 of the License, or (at your option) any later version.
   542  //
   543  //    The GNU C Library is distributed in the hope that it will be useful,
   544  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   545  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   546  //    Lesser General Public License for more details.
   547  //
   548  //    You should have received a copy of the GNU Lesser General Public
   549  //    License along with the GNU C Library; if not, see
   550  //    <https://www.gnu.org/licenses/>.
   551  
   552  //	POSIX Standard: 2.10 Symbolic Constants		<unistd.h>
   553  
   554  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
   555  //    This file is part of the GNU C Library.
   556  //
   557  //    The GNU C Library is free software; you can redistribute it and/or
   558  //    modify it under the terms of the GNU Lesser General Public
   559  //    License as published by the Free Software Foundation; either
   560  //    version 2.1 of the License, or (at your option) any later version.
   561  //
   562  //    The GNU C Library is distributed in the hope that it will be useful,
   563  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   564  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   565  //    Lesser General Public License for more details.
   566  //
   567  //    You should have received a copy of the GNU Lesser General Public
   568  //    License along with the GNU C Library; if not, see
   569  //    <https://www.gnu.org/licenses/>.
   570  
   571  // These are defined by the user (or the compiler)
   572  //    to specify the desired environment:
   573  //
   574  //    __STRICT_ANSI__	ISO Standard C.
   575  //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99.
   576  //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11.
   577  //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X.
   578  //    __STDC_WANT_LIB_EXT2__
   579  // 			Extensions to ISO C99 from TR 27431-2:2010.
   580  //    __STDC_WANT_IEC_60559_BFP_EXT__
   581  // 			Extensions to ISO C11 from TS 18661-1:2014.
   582  //    __STDC_WANT_IEC_60559_FUNCS_EXT__
   583  // 			Extensions to ISO C11 from TS 18661-4:2015.
   584  //    __STDC_WANT_IEC_60559_TYPES_EXT__
   585  // 			Extensions to ISO C11 from TS 18661-3:2015.
   586  //
   587  //    _POSIX_SOURCE	IEEE Std 1003.1.
   588  //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
   589  // 			if >=199309L, add IEEE Std 1003.1b-1993;
   590  // 			if >=199506L, add IEEE Std 1003.1c-1995;
   591  // 			if >=200112L, all of IEEE 1003.1-2004
   592  // 			if >=200809L, all of IEEE 1003.1-2008
   593  //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if
   594  // 			Single Unix conformance is wanted, to 600 for the
   595  // 			sixth revision, to 700 for the seventh revision.
   596  //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
   597  //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O.
   598  //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files.
   599  //    _FILE_OFFSET_BITS=N	Select default filesystem interface.
   600  //    _ATFILE_SOURCE	Additional *at interfaces.
   601  //    _GNU_SOURCE		All of the above, plus GNU extensions.
   602  //    _DEFAULT_SOURCE	The default set of features (taking precedence over
   603  // 			__STRICT_ANSI__).
   604  //
   605  //    _FORTIFY_SOURCE	Add security hardening to many library functions.
   606  // 			Set to 1 or 2; 2 performs stricter checks than 1.
   607  //
   608  //    _REENTRANT, _THREAD_SAFE
   609  // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
   610  //
   611  //    The `-ansi' switch to the GNU C compiler, and standards conformance
   612  //    options such as `-std=c99', define __STRICT_ANSI__.  If none of
   613  //    these are defined, or if _DEFAULT_SOURCE is defined, the default is
   614  //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
   615  //    200809L, as well as enabling miscellaneous functions from BSD and
   616  //    SVID.  If more than one of these are defined, they accumulate.  For
   617  //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
   618  //    give you ISO C, 1003.1, and 1003.2, but nothing else.
   619  //
   620  //    These are defined by this file and are used by the
   621  //    header files to decide what to declare or define:
   622  //
   623  //    __GLIBC_USE (F)	Define things from feature set F.  This is defined
   624  // 			to 1 or 0; the subsequent macros are either defined
   625  // 			or undefined, and those tests should be moved to
   626  // 			__GLIBC_USE.
   627  //    __USE_ISOC11		Define ISO C11 things.
   628  //    __USE_ISOC99		Define ISO C99 things.
   629  //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things.
   630  //    __USE_ISOCXX11	Define ISO C++11 things.
   631  //    __USE_POSIX		Define IEEE Std 1003.1 things.
   632  //    __USE_POSIX2		Define IEEE Std 1003.2 things.
   633  //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things.
   634  //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things.
   635  //    __USE_XOPEN		Define XPG things.
   636  //    __USE_XOPEN_EXTENDED	Define X/Open Unix things.
   637  //    __USE_UNIX98		Define Single Unix V2 things.
   638  //    __USE_XOPEN2K        Define XPG6 things.
   639  //    __USE_XOPEN2KXSI     Define XPG6 XSI things.
   640  //    __USE_XOPEN2K8       Define XPG7 things.
   641  //    __USE_XOPEN2K8XSI    Define XPG7 XSI things.
   642  //    __USE_LARGEFILE	Define correct standard I/O things.
   643  //    __USE_LARGEFILE64	Define LFS things with separate names.
   644  //    __USE_FILE_OFFSET64	Define 64bit interface as default.
   645  //    __USE_MISC		Define things from 4.3BSD or System V Unix.
   646  //    __USE_ATFILE		Define *at interfaces and AT_* constants for them.
   647  //    __USE_GNU		Define GNU extensions.
   648  //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level.
   649  //
   650  //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
   651  //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided
   652  //    only for compatibility.  All new code should use the other symbols
   653  //    to test for features.
   654  //
   655  //    All macros listed above as possibly being defined by this file are
   656  //    explicitly undefined if they are not explicitly defined.
   657  //    Feature-test macros that are not defined by the user or compiler
   658  //    but are implied by the other feature-test macros defined (or by the
   659  //    lack of any definitions) are defined by the file.
   660  //
   661  //    ISO C feature test macros depend on the definition of the macro
   662  //    when an affected header is included, not when the first system
   663  //    header is included, and so they are handled in
   664  //    <bits/libc-header-start.h>, which does not have a multiple include
   665  //    guard.  Feature test macros that can be handled from the first
   666  //    system header included are handled here.
   667  
   668  // Undefine everything, so we get a clean slate.
   669  
   670  // Suppress kernel-name space pollution unless user expressedly asks
   671  //    for it.
   672  
   673  // Convenience macro to test the version of gcc.
   674  //    Use like this:
   675  //    #if __GNUC_PREREQ (2,8)
   676  //    ... code requiring gcc 2.8 or later ...
   677  //    #endif
   678  //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
   679  //    added in 2.0.
   680  
   681  // Similarly for clang.  Features added to GCC after version 4.2 may
   682  //    or may not also be available in clang, and clang's definitions of
   683  //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such
   684  //    features can be queried via __has_extension/__has_feature.
   685  
   686  // Whether to use feature set F.
   687  
   688  // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
   689  //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not
   690  //    issue a warning; the expectation is that the source is being
   691  //    transitioned to use the new macro.
   692  
   693  // If _GNU_SOURCE was defined by the user, turn on all the other features.
   694  
   695  // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
   696  //    define _DEFAULT_SOURCE.
   697  
   698  // This is to enable the ISO C2X extension.
   699  
   700  // This is to enable the ISO C11 extension.
   701  
   702  // This is to enable the ISO C99 extension.
   703  
   704  // This is to enable the ISO C90 Amendment 1:1995 extension.
   705  
   706  // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
   707  //    is defined, use POSIX.1-2008 (or another version depending on
   708  //    _XOPEN_SOURCE).
   709  
   710  // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
   711  //    defined in all multithreaded code.  GNU libc has not required this
   712  //    for many years.  We now treat them as compatibility synonyms for
   713  //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
   714  //    comprehensive support for multithreaded code.  Using them never
   715  //    lowers the selected level of POSIX conformance, only raises it.
   716  
   717  // The function 'gets' existed in C89, but is impossible to use
   718  //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for
   719  //    compatibility with various implementations of <cstdio>, this test
   720  //    must consider only the value of __cplusplus when compiling C++.
   721  
   722  // GNU formerly extended the scanf functions with modified format
   723  //    specifiers %as, %aS, and %a[...] that allocate a buffer for the
   724  //    input using malloc.  This extension conflicts with ISO C99, which
   725  //    defines %a as a standalone format specifier that reads a floating-
   726  //    point number; moreover, POSIX.1-2008 provides the same feature
   727  //    using the modifier letter 'm' instead (%ms, %mS, %m[...]).
   728  //
   729  //    We now follow C99 unless GNU extensions are active and the compiler
   730  //    is specifically in C89 or C++98 mode (strict or not).  For
   731  //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with
   732  //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
   733  //    old extension.
   734  
   735  // Get definitions of __STDC_* predefined macros, if the compiler has
   736  //    not preincluded this header automatically.
   737  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
   738  //    This file is part of the GNU C Library.
   739  //
   740  //    The GNU C Library is free software; you can redistribute it and/or
   741  //    modify it under the terms of the GNU Lesser General Public
   742  //    License as published by the Free Software Foundation; either
   743  //    version 2.1 of the License, or (at your option) any later version.
   744  //
   745  //    The GNU C Library is distributed in the hope that it will be useful,
   746  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   747  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   748  //    Lesser General Public License for more details.
   749  //
   750  //    You should have received a copy of the GNU Lesser General Public
   751  //    License along with the GNU C Library; if not, see
   752  //    <https://www.gnu.org/licenses/>.
   753  
   754  // This macro indicates that the installed library is the GNU C Library.
   755  //    For historic reasons the value now is 6 and this will stay from now
   756  //    on.  The use of this variable is deprecated.  Use __GLIBC__ and
   757  //    __GLIBC_MINOR__ now (see below) when you want to test for a specific
   758  //    GNU C library version and use the values in <gnu/lib-names.h> to get
   759  //    the sonames of the shared libraries.
   760  
   761  // Major and minor version number of the GNU C library package.  Use
   762  //    these macros to test for features in specific releases.
   763  
   764  // This is here only because every header file already includes this one.
   765  // Copyright (C) 1992-2020 Free Software Foundation, Inc.
   766  //    This file is part of the GNU C Library.
   767  //
   768  //    The GNU C Library is free software; you can redistribute it and/or
   769  //    modify it under the terms of the GNU Lesser General Public
   770  //    License as published by the Free Software Foundation; either
   771  //    version 2.1 of the License, or (at your option) any later version.
   772  //
   773  //    The GNU C Library is distributed in the hope that it will be useful,
   774  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   775  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   776  //    Lesser General Public License for more details.
   777  //
   778  //    You should have received a copy of the GNU Lesser General Public
   779  //    License along with the GNU C Library; if not, see
   780  //    <https://www.gnu.org/licenses/>.
   781  
   782  // We are almost always included from features.h.
   783  
   784  // The GNU libc does not support any K&R compilers or the traditional mode
   785  //    of ISO C compilers anymore.  Check for some of the combinations not
   786  //    anymore supported.
   787  
   788  // Some user header file might have defined this before.
   789  
   790  // All functions, except those with callbacks or those that
   791  //    synchronize memory, are leaf functions.
   792  
   793  // GCC can always grok prototypes.  For C++ programs we add throw()
   794  //    to help it optimize the function calls.  But this works only with
   795  //    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
   796  //    as non-throwing using a function attribute since programs can use
   797  //    the -fexceptions options for C code as well.
   798  
   799  // Compilers that are not clang may object to
   800  //        #if defined __clang__ && __has_extension(...)
   801  //    even though they do not need to evaluate the right-hand side of the &&.
   802  
   803  // These two macros are not used in glibc anymore.  They are kept here
   804  //    only because some other projects expect the macros to be defined.
   805  
   806  // For these things, GCC behaves the ANSI way normally,
   807  //    and the non-ANSI way under -traditional.
   808  
   809  // This is not a typedef so `const __ptr_t' does the right thing.
   810  
   811  // C++ needs to know that types and declarations are C, not C++.
   812  
   813  // Fortify support.
   814  
   815  // Support for flexible arrays.
   816  //    Headers that should use flexible arrays only if they're "real"
   817  //    (e.g. only if they won't affect sizeof()) should test
   818  //    #if __glibc_c99_flexarr_available.
   819  
   820  // __asm__ ("xyz") is used throughout the headers to rename functions
   821  //    at the assembly language level.  This is wrapped by the __REDIRECT
   822  //    macro, in order to support compilers that can do this some other
   823  //    way.  When compilers don't support asm-names at all, we have to do
   824  //    preprocessor tricks instead (which don't have exactly the right
   825  //    semantics, but it's the best we can do).
   826  //
   827  //    Example:
   828  //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
   829  
   830  //
   831  // #elif __SOME_OTHER_COMPILER__
   832  //
   833  // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias)
   834  
   835  // GCC has various useful declarations that can be made with the
   836  //    `__attribute__' syntax.  All of the ways we use this do fine if
   837  //    they are omitted for compilers that don't understand it.
   838  
   839  // At some point during the gcc 2.96 development the `malloc' attribute
   840  //    for functions was introduced.  We don't want to use it unconditionally
   841  //    (although this would be possible) since it generates warnings.
   842  
   843  // Tell the compiler which arguments to an allocation function
   844  //    indicate the size of the allocation.
   845  
   846  // At some point during the gcc 2.96 development the `pure' attribute
   847  //    for functions was introduced.  We don't want to use it unconditionally
   848  //    (although this would be possible) since it generates warnings.
   849  
   850  // This declaration tells the compiler that the value is constant.
   851  
   852  // At some point during the gcc 3.1 development the `used' attribute
   853  //    for functions was introduced.  We don't want to use it unconditionally
   854  //    (although this would be possible) since it generates warnings.
   855  
   856  // Since version 3.2, gcc allows marking deprecated functions.
   857  
   858  // Since version 4.5, gcc also allows one to specify the message printed
   859  //    when a deprecated function is used.  clang claims to be gcc 4.2, but
   860  //    may also support this feature.
   861  
   862  // At some point during the gcc 2.8 development the `format_arg' attribute
   863  //    for functions was introduced.  We don't want to use it unconditionally
   864  //    (although this would be possible) since it generates warnings.
   865  //    If several `format_arg' attributes are given for the same function, in
   866  //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs,
   867  //    all designated arguments are considered.
   868  
   869  // At some point during the gcc 2.97 development the `strfmon' format
   870  //    attribute for functions was introduced.  We don't want to use it
   871  //    unconditionally (although this would be possible) since it
   872  //    generates warnings.
   873  
   874  // The nonull function attribute allows to mark pointer parameters which
   875  //    must not be NULL.
   876  
   877  // If fortification mode, we warn about unused results of certain
   878  //    function calls which can lead to problems.
   879  
   880  // Forces a function to be always inlined.
   881  // The Linux kernel defines __always_inline in stddef.h (283d7573), and
   882  //    it conflicts with this definition.  Therefore undefine it first to
   883  //    allow either header to be included first.
   884  
   885  // Associate error messages with the source location of the call site rather
   886  //    than with the source location inside the function.
   887  
   888  // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
   889  //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__
   890  //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
   891  //    older than 4.3 may define these macros and still not guarantee GNU inlining
   892  //    semantics.
   893  //
   894  //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining
   895  //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
   896  //    __GNUC_GNU_INLINE__ macro definitions.
   897  
   898  // GCC 4.3 and above allow passing all anonymous arguments of an
   899  //    __extern_always_inline function to some other vararg function.
   900  
   901  // It is possible to compile containing GCC extensions even if GCC is
   902  //    run in pedantic mode if the uses are carefully marked using the
   903  //    `__extension__' keyword.  But this is not generally available before
   904  //    version 2.8.
   905  
   906  // __restrict is known in EGCS 1.2 and above.
   907  
   908  // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is
   909  //      array_name[restrict]
   910  //    GCC 3.1 supports this.
   911  
   912  // Describes a char array whose address can safely be passed as the first
   913  //    argument to strncpy and strncat, as the char array is not necessarily
   914  //    a NUL-terminated string.
   915  
   916  // Undefine (also defined in libc-symbols.h).
   917  // Copies attributes from the declaration or type referenced by
   918  //    the argument.
   919  
   920  // Determine the wordsize from the preprocessor defines.
   921  
   922  // Properties of long double type.  ldbl-opt version.
   923  //    Copyright (C) 2016-2020 Free Software Foundation, Inc.
   924  //    This file is part of the GNU C Library.
   925  //
   926  //    The GNU C Library is free software; you can redistribute it and/or
   927  //    modify it under the terms of the GNU Lesser General Public
   928  //    License  published by the Free Software Foundation; either
   929  //    version 2.1 of the License, or (at your option) any later version.
   930  //
   931  //    The GNU C Library is distributed in the hope that it will be useful,
   932  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
   933  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   934  //    Lesser General Public License for more details.
   935  //
   936  //    You should have received a copy of the GNU Lesser General Public
   937  //    License along with the GNU C Library; if not, see
   938  //    <https://www.gnu.org/licenses/>.
   939  
   940  // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is
   941  //    intended for use in preprocessor macros.
   942  //
   943  //    Note: MESSAGE must be a _single_ string; concatenation of string
   944  //    literals is not supported.
   945  
   946  // Generic selection (ISO C11) is a C-only feature, available in GCC
   947  //    since version 4.9.  Previous versions do not provide generic
   948  //    selection, even though they might set __STDC_VERSION__ to 201112L,
   949  //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__
   950  //    when testing __STDC_VERSION__ for generic selection support.
   951  //    On the other hand, Clang also defines __GNUC__, so a clang-specific
   952  //    check is required to enable the use of generic selection.
   953  
   954  // If we don't have __REDIRECT, prototypes will be missing if
   955  //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
   956  
   957  // Decide whether we can define 'extern inline' functions in headers.
   958  
   959  // This is here only because every header file already includes this one.
   960  //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
   961  //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
   962  //    that will always return failure (and set errno to ENOSYS).
   963  // This file is automatically generated.
   964  //    This file selects the right generated file of `__stub_FUNCTION' macros
   965  //    based on the architecture being compiled for.
   966  
   967  // Determine the wordsize from the preprocessor defines.
   968  
   969  // This file is automatically generated.
   970  //    It defines a symbol `__stub_FUNCTION' for each function
   971  //    in the C library which is a stub, meaning it will fail
   972  //    every time called, usually setting errno to ENOSYS.
   973  
   974  // These may be used to determine what facilities are present at compile time.
   975  //    Their values can be obtained at run time from `sysconf'.
   976  
   977  // POSIX Standard approved as ISO/IEC 9945-1 as of September 2008.
   978  
   979  // These are not #ifdef __USE_POSIX2 because they are
   980  //    in the theoretically application-owned namespace.
   981  
   982  // The utilities on GNU systems also correspond to this version.
   983  
   984  // The utilities on GNU systems also correspond to this version.
   985  
   986  // This symbol was required until the 2001 edition of POSIX.
   987  
   988  // If defined, the implementation supports the
   989  //    C Language Bindings Option.
   990  
   991  // If defined, the implementation supports the
   992  //    C Language Development Utilities Option.
   993  
   994  // If defined, the implementation supports the
   995  //    Software Development Utilities Option.
   996  
   997  // If defined, the implementation supports the
   998  //    creation of locales with the localedef utility.
   999  
  1000  // X/Open version number to which the library conforms.  It is selectable.
  1001  
  1002  // Commands and utilities from XPG4 are available.
  1003  
  1004  // We are compatible with the old published standards as well.
  1005  
  1006  // The X/Open Unix extensions are available.
  1007  
  1008  // The enhanced internationalization capabilities according to XPG4.2
  1009  //    are present.
  1010  
  1011  // The legacy interfaces are also available.
  1012  
  1013  // Get values of POSIX options:
  1014  //
  1015  //    If these symbols are defined, the corresponding features are
  1016  //    always available.  If not, they may be available sometimes.
  1017  //    The current values can be obtained with `sysconf'.
  1018  //
  1019  //    _POSIX_JOB_CONTROL		Job control is supported.
  1020  //    _POSIX_SAVED_IDS		Processes have a saved set-user-ID
  1021  // 				and a saved set-group-ID.
  1022  //    _POSIX_REALTIME_SIGNALS	Real-time, queued signals are supported.
  1023  //    _POSIX_PRIORITY_SCHEDULING	Priority scheduling is supported.
  1024  //    _POSIX_TIMERS		POSIX.4 clocks and timers are supported.
  1025  //    _POSIX_ASYNCHRONOUS_IO	Asynchronous I/O is supported.
  1026  //    _POSIX_PRIORITIZED_IO	Prioritized asynchronous I/O is supported.
  1027  //    _POSIX_SYNCHRONIZED_IO	Synchronizing file data is supported.
  1028  //    _POSIX_FSYNC			The fsync function is present.
  1029  //    _POSIX_MAPPED_FILES		Mapping of files to memory is supported.
  1030  //    _POSIX_MEMLOCK		Locking of all memory is supported.
  1031  //    _POSIX_MEMLOCK_RANGE		Locking of ranges of memory is supported.
  1032  //    _POSIX_MEMORY_PROTECTION	Setting of memory protections is supported.
  1033  //    _POSIX_MESSAGE_PASSING	POSIX.4 message queues are supported.
  1034  //    _POSIX_SEMAPHORES		POSIX.4 counting semaphores are supported.
  1035  //    _POSIX_SHARED_MEMORY_OBJECTS	POSIX.4 shared memory objects are supported.
  1036  //    _POSIX_THREADS		POSIX.1c pthreads are supported.
  1037  //    _POSIX_THREAD_ATTR_STACKADDR	Thread stack address attribute option supported.
  1038  //    _POSIX_THREAD_ATTR_STACKSIZE	Thread stack size attribute option supported.
  1039  //    _POSIX_THREAD_SAFE_FUNCTIONS	Thread-safe functions are supported.
  1040  //    _POSIX_THREAD_PRIORITY_SCHEDULING
  1041  // 				POSIX.1c thread execution scheduling supported.
  1042  //    _POSIX_THREAD_PRIO_INHERIT	Thread priority inheritance option supported.
  1043  //    _POSIX_THREAD_PRIO_PROTECT	Thread priority protection option supported.
  1044  //    _POSIX_THREAD_PROCESS_SHARED	Process-shared synchronization supported.
  1045  //    _POSIX_PII			Protocol-independent interfaces are supported.
  1046  //    _POSIX_PII_XTI		XTI protocol-indep. interfaces are supported.
  1047  //    _POSIX_PII_SOCKET		Socket protocol-indep. interfaces are supported.
  1048  //    _POSIX_PII_INTERNET		Internet family of protocols supported.
  1049  //    _POSIX_PII_INTERNET_STREAM	Connection-mode Internet protocol supported.
  1050  //    _POSIX_PII_INTERNET_DGRAM	Connectionless Internet protocol supported.
  1051  //    _POSIX_PII_OSI		ISO/OSI family of protocols supported.
  1052  //    _POSIX_PII_OSI_COTS		Connection-mode ISO/OSI service supported.
  1053  //    _POSIX_PII_OSI_CLTS		Connectionless ISO/OSI service supported.
  1054  //    _POSIX_POLL			Implementation supports `poll' function.
  1055  //    _POSIX_SELECT		Implementation supports `select' and `pselect'.
  1056  //
  1057  //    _XOPEN_REALTIME		X/Open realtime support is available.
  1058  //    _XOPEN_REALTIME_THREADS	X/Open realtime thread support is available.
  1059  //    _XOPEN_SHM			Shared memory interface according to XPG4.2.
  1060  //
  1061  //    _XBS5_ILP32_OFF32		Implementation provides environment with 32-bit
  1062  // 				int, long, pointer, and off_t types.
  1063  //    _XBS5_ILP32_OFFBIG		Implementation provides environment with 32-bit
  1064  // 				int, long, and pointer and off_t with at least
  1065  // 				64 bits.
  1066  //    _XBS5_LP64_OFF64		Implementation provides environment with 32-bit
  1067  // 				int, and 64-bit long, pointer, and off_t types.
  1068  //    _XBS5_LPBIG_OFFBIG		Implementation provides environment with at
  1069  // 				least 32 bits int and long, pointer, and off_t
  1070  // 				with at least 64 bits.
  1071  //
  1072  //    If any of these symbols is defined as -1, the corresponding option is not
  1073  //    true for any file.  If any is defined as other than -1, the corresponding
  1074  //    option is true for all files.  If a symbol is not defined at all, the value
  1075  //    for a specific file can be obtained from `pathconf' and `fpathconf'.
  1076  //
  1077  //    _POSIX_CHOWN_RESTRICTED	Only the super user can use `chown' to change
  1078  // 				the owner of a file.  `chown' can only be used
  1079  // 				to change the group ID of a file to a group of
  1080  // 				which the calling process is a member.
  1081  //    _POSIX_NO_TRUNC		Pathname components longer than
  1082  // 				NAME_MAX generate an error.
  1083  //    _POSIX_VDISABLE		If defined, if the value of an element of the
  1084  // 				`c_cc' member of `struct termios' is
  1085  // 				_POSIX_VDISABLE, no character will have the
  1086  // 				effect associated with that element.
  1087  //    _POSIX_SYNC_IO		Synchronous I/O may be performed.
  1088  //    _POSIX_ASYNC_IO		Asynchronous I/O may be performed.
  1089  //    _POSIX_PRIO_IO		Prioritized Asynchronous I/O may be performed.
  1090  //
  1091  //    Support for the Large File Support interface is not generally available.
  1092  //    If it is available the following constants are defined to one.
  1093  //    _LFS64_LARGEFILE		Low-level I/O supports large files.
  1094  //    _LFS64_STDIO			Standard I/O supports large files.
  1095  //
  1096  
  1097  // Define POSIX options for Linux.
  1098  //    Copyright (C) 1996-2020 Free Software Foundation, Inc.
  1099  //    This file is part of the GNU C Library.
  1100  //
  1101  //    The GNU C Library is free software; you can redistribute it and/or
  1102  //    modify it under the terms of the GNU Lesser General Public License as
  1103  //    published by the Free Software Foundation; either version 2.1 of the
  1104  //    License, or (at your option) any later version.
  1105  //
  1106  //    The GNU C Library is distributed in the hope that it will be useful,
  1107  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1108  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1109  //    Lesser General Public License for more details.
  1110  //
  1111  //    You should have received a copy of the GNU Lesser General Public
  1112  //    License along with the GNU C Library; see the file COPYING.LIB.  If
  1113  //    not, see <https://www.gnu.org/licenses/>.
  1114  
  1115  // Job control is supported.
  1116  
  1117  // Processes have a saved set-user-ID and a saved set-group-ID.
  1118  
  1119  // Priority scheduling is not supported with the correct semantics,
  1120  //    but GNU/Linux applications expect that the corresponding interfaces
  1121  //    are available, even though the semantics do not meet the POSIX
  1122  //    requirements.  See glibc bug 14829.
  1123  
  1124  // Synchronizing file data is supported.
  1125  
  1126  // The fsync function is present.
  1127  
  1128  // Mapping of files to memory is supported.
  1129  
  1130  // Locking of all memory is supported.
  1131  
  1132  // Locking of ranges of memory is supported.
  1133  
  1134  // Setting of memory protections is supported.
  1135  
  1136  // Some filesystems allow all users to change file ownership.
  1137  
  1138  // `c_cc' member of 'struct termios' structure can be disabled by
  1139  //    using the value _POSIX_VDISABLE.
  1140  
  1141  // Filenames are not silently truncated.
  1142  
  1143  // X/Open realtime support is available.
  1144  
  1145  // X/Open thread realtime support is available.
  1146  
  1147  // XPG4.2 shared memory is supported.
  1148  
  1149  // Tell we have POSIX threads.
  1150  
  1151  // We have the reentrant functions described in POSIX.
  1152  
  1153  // We provide priority scheduling for threads.
  1154  
  1155  // We support user-defined stack sizes.
  1156  
  1157  // We support user-defined stacks.
  1158  
  1159  // We support priority inheritence.
  1160  
  1161  // We support priority protection, though only for non-robust
  1162  //    mutexes.
  1163  
  1164  // We support priority inheritence for robust mutexes.
  1165  
  1166  // We do not support priority protection for robust mutexes.
  1167  
  1168  // We support POSIX.1b semaphores.
  1169  
  1170  // Real-time signals are supported.
  1171  
  1172  // We support asynchronous I/O.
  1173  // Alternative name for Unix98.
  1174  // Support for prioritization is also available.
  1175  
  1176  // The LFS support in asynchronous I/O is also available.
  1177  
  1178  // The rest of the LFS is also available.
  1179  
  1180  // POSIX shared memory objects are implemented.
  1181  
  1182  // CPU-time clocks support needs to be checked at runtime.
  1183  
  1184  // Clock support in threads must be also checked at runtime.
  1185  
  1186  // GNU libc provides regular expression handling.
  1187  
  1188  // Reader/Writer locks are available.
  1189  
  1190  // We have a POSIX shell.
  1191  
  1192  // We support the Timeouts option.
  1193  
  1194  // We support spinlocks.
  1195  
  1196  // The `spawn' function family is supported.
  1197  
  1198  // We have POSIX timers.
  1199  
  1200  // The barrier functions are available.
  1201  
  1202  // POSIX message queues are available.
  1203  
  1204  // Thread process-shared synchronization is supported.
  1205  
  1206  // The monotonic clock might be available.
  1207  
  1208  // The clock selection interfaces are available.
  1209  
  1210  // Advisory information interfaces are available.
  1211  
  1212  // IPv6 support is available.
  1213  
  1214  // Raw socket support is available.
  1215  
  1216  // We have at least one terminal.
  1217  
  1218  // Neither process nor thread sporadic server interfaces is available.
  1219  
  1220  // trace.h is not available.
  1221  
  1222  // Typed memory objects are not available.
  1223  
  1224  // Get the environment definitions from Unix98.
  1225  // Copyright (C) 1999-2020 Free Software Foundation, Inc.
  1226  //    This file is part of the GNU C Library.
  1227  //
  1228  //    The GNU C Library is free software; you can redistribute it and/or
  1229  //    modify it under the terms of the GNU Lesser General Public
  1230  //    License as published by the Free Software Foundation; either
  1231  //    version 2.1 of the License, or (at your option) any later version.
  1232  //
  1233  //    The GNU C Library is distributed in the hope that it will be useful,
  1234  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1235  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1236  //    Lesser General Public License for more details.
  1237  //
  1238  //    You should have received a copy of the GNU Lesser General Public
  1239  //    License along with the GNU C Library; if not, see
  1240  //    <https://www.gnu.org/licenses/>.
  1241  
  1242  // Determine the wordsize from the preprocessor defines.
  1243  
  1244  // This header should define the following symbols under the described
  1245  //    situations.  A value `1' means that the model is always supported,
  1246  //    `-1' means it is never supported.  Undefined means it cannot be
  1247  //    statically decided.
  1248  //
  1249  //    _POSIX_V7_ILP32_OFF32   32bit int, long, pointers, and off_t type
  1250  //    _POSIX_V7_ILP32_OFFBIG  32bit int, long, and pointers and larger off_t type
  1251  //
  1252  //    _POSIX_V7_LP64_OFF32	   64bit long and pointers and 32bit off_t type
  1253  //    _POSIX_V7_LPBIG_OFFBIG  64bit long and pointers and large off_t type
  1254  //
  1255  //    The macros _POSIX_V6_ILP32_OFF32, _POSIX_V6_ILP32_OFFBIG,
  1256  //    _POSIX_V6_LP64_OFF32, _POSIX_V6_LPBIG_OFFBIG, _XBS5_ILP32_OFF32,
  1257  //    _XBS5_ILP32_OFFBIG, _XBS5_LP64_OFF32, and _XBS5_LPBIG_OFFBIG were
  1258  //    used in previous versions of the Unix standard and are available
  1259  //    only for compatibility.
  1260  
  1261  // Environments with 32-bit wide pointers are optionally provided.
  1262  //    Therefore following macros aren't defined:
  1263  //    # undef _POSIX_V7_ILP32_OFF32
  1264  //    # undef _POSIX_V7_ILP32_OFFBIG
  1265  //    # undef _POSIX_V6_ILP32_OFF32
  1266  //    # undef _POSIX_V6_ILP32_OFFBIG
  1267  //    # undef _XBS5_ILP32_OFF32
  1268  //    # undef _XBS5_ILP32_OFFBIG
  1269  //    and users need to check at runtime.
  1270  
  1271  // We also have no use (for now) for an environment with bigger pointers
  1272  //    and offsets.
  1273  
  1274  // By default we have 64-bit wide `long int', pointers and `off_t'.
  1275  
  1276  // Standard file descriptors.
  1277  
  1278  // All functions that are not declared anywhere else.
  1279  
  1280  // bits/types.h -- definitions of __*_t types underlying *_t types.
  1281  //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
  1282  //    This file is part of the GNU C Library.
  1283  //
  1284  //    The GNU C Library is free software; you can redistribute it and/or
  1285  //    modify it under the terms of the GNU Lesser General Public
  1286  //    License as published by the Free Software Foundation; either
  1287  //    version 2.1 of the License, or (at your option) any later version.
  1288  //
  1289  //    The GNU C Library is distributed in the hope that it will be useful,
  1290  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1291  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1292  //    Lesser General Public License for more details.
  1293  //
  1294  //    You should have received a copy of the GNU Lesser General Public
  1295  //    License along with the GNU C Library; if not, see
  1296  //    <https://www.gnu.org/licenses/>.
  1297  
  1298  // Never include this file directly; use <sys/types.h> instead.
  1299  
  1300  // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  1301  //    This file is part of the GNU C Library.
  1302  //
  1303  //    The GNU C Library is free software; you can redistribute it and/or
  1304  //    modify it under the terms of the GNU Lesser General Public
  1305  //    License as published by the Free Software Foundation; either
  1306  //    version 2.1 of the License, or (at your option) any later version.
  1307  //
  1308  //    The GNU C Library is distributed in the hope that it will be useful,
  1309  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1310  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1311  //    Lesser General Public License for more details.
  1312  //
  1313  //    You should have received a copy of the GNU Lesser General Public
  1314  //    License along with the GNU C Library; if not, see
  1315  //    <https://www.gnu.org/licenses/>.
  1316  
  1317  // Determine the wordsize from the preprocessor defines.
  1318  
  1319  // Bit size of the time_t type at glibc build time, general case.
  1320  //    Copyright (C) 2018-2020 Free Software Foundation, Inc.
  1321  //    This file is part of the GNU C Library.
  1322  //
  1323  //    The GNU C Library is free software; you can redistribute it and/or
  1324  //    modify it under the terms of the GNU Lesser General Public
  1325  //    License as published by the Free Software Foundation; either
  1326  //    version 2.1 of the License, or (at your option) any later version.
  1327  //
  1328  //    The GNU C Library is distributed in the hope that it will be useful,
  1329  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1330  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1331  //    Lesser General Public License for more details.
  1332  //
  1333  //    You should have received a copy of the GNU Lesser General Public
  1334  //    License along with the GNU C Library; if not, see
  1335  //    <https://www.gnu.org/licenses/>.
  1336  
  1337  // Determine the wordsize from the preprocessor defines.
  1338  
  1339  // Size in bits of the 'time_t' type of the default ABI.
  1340  
  1341  // Convenience types.
  1342  type X__u_char = uint8   /* types.h:31:23 */
  1343  type X__u_short = uint16 /* types.h:32:28 */
  1344  type X__u_int = uint32   /* types.h:33:22 */
  1345  type X__u_long = uint64  /* types.h:34:27 */
  1346  
  1347  // Fixed-size types, underlying types depend on word size and compiler.
  1348  type X__int8_t = int8     /* types.h:37:21 */
  1349  type X__uint8_t = uint8   /* types.h:38:23 */
  1350  type X__int16_t = int16   /* types.h:39:26 */
  1351  type X__uint16_t = uint16 /* types.h:40:28 */
  1352  type X__int32_t = int32   /* types.h:41:20 */
  1353  type X__uint32_t = uint32 /* types.h:42:22 */
  1354  type X__int64_t = int64   /* types.h:44:25 */
  1355  type X__uint64_t = uint64 /* types.h:45:27 */
  1356  
  1357  // Smallest types with at least a given width.
  1358  type X__int_least8_t = X__int8_t     /* types.h:52:18 */
  1359  type X__uint_least8_t = X__uint8_t   /* types.h:53:19 */
  1360  type X__int_least16_t = X__int16_t   /* types.h:54:19 */
  1361  type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
  1362  type X__int_least32_t = X__int32_t   /* types.h:56:19 */
  1363  type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
  1364  type X__int_least64_t = X__int64_t   /* types.h:58:19 */
  1365  type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
  1366  
  1367  // quad_t is also 64 bits.
  1368  type X__quad_t = int64    /* types.h:63:18 */
  1369  type X__u_quad_t = uint64 /* types.h:64:27 */
  1370  
  1371  // Largest integral types.
  1372  type X__intmax_t = int64   /* types.h:72:18 */
  1373  type X__uintmax_t = uint64 /* types.h:73:27 */
  1374  
  1375  // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
  1376  //    macros for each of the OS types we define below.  The definitions
  1377  //    of those macros must use the following macros for underlying types.
  1378  //    We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned
  1379  //    variants of each of the following integer types on this machine.
  1380  //
  1381  // 	16		-- "natural" 16-bit type (always short)
  1382  // 	32		-- "natural" 32-bit type (always int)
  1383  // 	64		-- "natural" 64-bit type (long or long long)
  1384  // 	LONG32		-- 32-bit type, traditionally long
  1385  // 	QUAD		-- 64-bit type, traditionally long long
  1386  // 	WORD		-- natural type of __WORDSIZE bits (int or long)
  1387  // 	LONGWORD	-- type of __WORDSIZE bits, traditionally long
  1388  //
  1389  //    We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the
  1390  //    conventional uses of `long' or `long long' type modifiers match the
  1391  //    types we define, even when a less-adorned type would be the same size.
  1392  //    This matters for (somewhat) portably writing printf/scanf formats for
  1393  //    these types, where using the appropriate l or ll format modifiers can
  1394  //    make the typedefs and the formats match up across all GNU platforms.  If
  1395  //    we used `long' when it's 64 bits where `long long' is expected, then the
  1396  //    compiler would warn about the formats not matching the argument types,
  1397  //    and the programmer changing them to shut up the compiler would break the
  1398  //    program's portability.
  1399  //
  1400  //    Here we assume what is presently the case in all the GCC configurations
  1401  //    we support: long long is always 64 bits, long is always word/address size,
  1402  //    and int is always 32 bits.
  1403  
  1404  // No need to mark the typedef with __extension__.
  1405  // bits/typesizes.h -- underlying types for *_t.  Linux/s390 version.
  1406  //    Copyright (C) 2003-2020 Free Software Foundation, Inc.
  1407  //    This file is part of the GNU C Library.
  1408  //
  1409  //    The GNU C Library is free software; you can redistribute it and/or
  1410  //    modify it under the terms of the GNU Lesser General Public
  1411  //    License as published by the Free Software Foundation; either
  1412  //    version 2.1 of the License, or (at your option) any later version.
  1413  //
  1414  //    The GNU C Library is distributed in the hope that it will be useful,
  1415  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1416  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1417  //    Lesser General Public License for more details.
  1418  //
  1419  //    You should have received a copy of the GNU Lesser General Public
  1420  //    License along with the GNU C Library; if not, see
  1421  //    <https://www.gnu.org/licenses/>.
  1422  
  1423  // See <bits/types.h> for the meaning of these macros.  This file exists so
  1424  //    that <bits/types.h> need not vary across different GNU platforms.
  1425  
  1426  // size_t is unsigned long int on s390 -m31.
  1427  
  1428  // Tell the libc code that off_t and off64_t are actually the same type
  1429  //    for all ABI purposes, even if possibly expressed as different base types
  1430  //    for C type-checking purposes.
  1431  
  1432  // Same for ino_t and ino64_t.
  1433  
  1434  // And for __rlim_t and __rlim64_t.
  1435  
  1436  // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
  1437  
  1438  // Number of descriptors that can fit in an `fd_set'.
  1439  
  1440  // bits/time64.h -- underlying types for __time64_t.  Generic version.
  1441  //    Copyright (C) 2018-2020 Free Software Foundation, Inc.
  1442  //    This file is part of the GNU C Library.
  1443  //
  1444  //    The GNU C Library is free software; you can redistribute it and/or
  1445  //    modify it under the terms of the GNU Lesser General Public
  1446  //    License as published by the Free Software Foundation; either
  1447  //    version 2.1 of the License, or (at your option) any later version.
  1448  //
  1449  //    The GNU C Library is distributed in the hope that it will be useful,
  1450  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1451  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1452  //    Lesser General Public License for more details.
  1453  //
  1454  //    You should have received a copy of the GNU Lesser General Public
  1455  //    License along with the GNU C Library; if not, see
  1456  //    <https://www.gnu.org/licenses/>.
  1457  
  1458  // Define __TIME64_T_TYPE so that it is always a 64-bit type.
  1459  
  1460  // If we already have 64-bit time type then use it.
  1461  
  1462  type X__dev_t = uint64                     /* types.h:145:25 */ // Type of device numbers.
  1463  type X__uid_t = uint32                     /* types.h:146:25 */ // Type of user identifications.
  1464  type X__gid_t = uint32                     /* types.h:147:25 */ // Type of group identifications.
  1465  type X__ino_t = uint64                     /* types.h:148:25 */ // Type of file serial numbers.
  1466  type X__ino64_t = uint64                   /* types.h:149:27 */ // Type of file serial numbers (LFS).
  1467  type X__mode_t = uint32                    /* types.h:150:26 */ // Type of file attribute bitmasks.
  1468  type X__nlink_t = uint64                   /* types.h:151:27 */ // Type of file link counts.
  1469  type X__off_t = int64                      /* types.h:152:25 */ // Type of file sizes and offsets.
  1470  type X__off64_t = int64                    /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
  1471  type X__pid_t = int32                      /* types.h:154:25 */ // Type of process identifications.
  1472  type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
  1473  type X__clock_t = int64                    /* types.h:156:27 */ // Type of CPU usage counts.
  1474  type X__rlim_t = uint64                    /* types.h:157:26 */ // Type for resource measurement.
  1475  type X__rlim64_t = uint64                  /* types.h:158:28 */ // Type for resource measurement (LFS).
  1476  type X__id_t = uint32                      /* types.h:159:24 */ // General type for IDs.
  1477  type X__time_t = int64                     /* types.h:160:26 */ // Seconds since the Epoch.
  1478  type X__useconds_t = uint32                /* types.h:161:30 */ // Count of microseconds.
  1479  type X__suseconds_t = int64                /* types.h:162:31 */ // Signed count of microseconds.
  1480  
  1481  type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
  1482  type X__key_t = int32   /* types.h:165:25 */ // Type of an IPC key.
  1483  
  1484  // Clock ID used in clock and timer functions.
  1485  type X__clockid_t = int32 /* types.h:168:29 */
  1486  
  1487  // Timer ID returned by `timer_create'.
  1488  type X__timer_t = uintptr /* types.h:171:12 */
  1489  
  1490  // Type to represent block size.
  1491  type X__blksize_t = int64 /* types.h:174:29 */
  1492  
  1493  // Types from the Large File Support interface.
  1494  
  1495  // Type to count number of disk blocks.
  1496  type X__blkcnt_t = int64   /* types.h:179:28 */
  1497  type X__blkcnt64_t = int64 /* types.h:180:30 */
  1498  
  1499  // Type to count file system blocks.
  1500  type X__fsblkcnt_t = uint64   /* types.h:183:30 */
  1501  type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
  1502  
  1503  // Type to count file system nodes.
  1504  type X__fsfilcnt_t = uint64   /* types.h:187:30 */
  1505  type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
  1506  
  1507  // Type of miscellaneous file system fields.
  1508  type X__fsword_t = int64 /* types.h:191:28 */
  1509  
  1510  type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
  1511  
  1512  // Signed long type used in system calls.
  1513  type X__syscall_slong_t = int64 /* types.h:196:33 */
  1514  // Unsigned long type used in system calls.
  1515  type X__syscall_ulong_t = uint64 /* types.h:198:33 */
  1516  
  1517  // These few don't really vary by system, they always correspond
  1518  //
  1519  //	to one of the other defined types.
  1520  type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
  1521  type X__caddr_t = uintptr   /* types.h:203:14 */
  1522  
  1523  // Duplicates info from stdint.h but this is used in unistd.h.
  1524  type X__intptr_t = int64 /* types.h:206:25 */
  1525  
  1526  // Duplicate info from sys/socket.h.
  1527  type X__socklen_t = uint32 /* types.h:209:23 */
  1528  
  1529  // C99: An integer type that can be accessed as an atomic entity,
  1530  //
  1531  //	even in the presence of asynchronous interrupts.
  1532  //	It is not currently necessary for this to be machine-specific.
  1533  type X__sig_atomic_t = int32 /* types.h:214:13 */
  1534  
  1535  // Seconds since the Epoch, visible to user code when time_t is too
  1536  //    narrow only for consistency with the old way of widening too-narrow
  1537  //    types.  User code should never use __time64_t.
  1538  
  1539  type Ssize_t = X__ssize_t /* unistd.h:220:19 */
  1540  
  1541  // Wide character type.
  1542  //    Locale-writers should change this as necessary to
  1543  //    be big enough to hold unique values not between 0 and 127,
  1544  //    and not (wchar_t) -1, for each defined multibyte character.
  1545  
  1546  // Define this type if we are doing the whole job,
  1547  //    or if we want this type in particular.
  1548  
  1549  // A null pointer constant.
  1550  
  1551  // The Single Unix specification says that some more types are
  1552  //
  1553  //	available here.
  1554  type Gid_t = X__gid_t /* unistd.h:232:17 */
  1555  
  1556  type Uid_t = X__uid_t /* unistd.h:237:17 */
  1557  
  1558  type Off_t = X__off64_t /* unistd.h:245:19 */
  1559  
  1560  type Useconds_t = X__useconds_t /* unistd.h:255:22 */
  1561  
  1562  type Pid_t = X__pid_t /* unistd.h:260:17 */
  1563  
  1564  type Intptr_t = X__intptr_t /* unistd.h:267:20 */
  1565  
  1566  type Socklen_t = X__socklen_t /* unistd.h:274:21 */
  1567  
  1568  // Define some macros helping to catch buffer overflows.
  1569  
  1570  // System-specific extensions.
  1571  // System-specific extensions of <unistd.h>, Linux version.
  1572  //    Copyright (C) 2019-2020 Free Software Foundation, Inc.
  1573  //    This file is part of the GNU C Library.
  1574  //
  1575  //    The GNU C Library is free software; you can redistribute it and/or
  1576  //    modify it under the terms of the GNU Lesser General Public
  1577  //    License as published by the Free Software Foundation; either
  1578  //    version 2.1 of the License, or (at your option) any later version.
  1579  //
  1580  //    The GNU C Library is distributed in the hope that it will be useful,
  1581  //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  1582  //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  1583  //    Lesser General Public License for more details.
  1584  //
  1585  //    You should have received a copy of the GNU Lesser General Public
  1586  //    License along with the GNU C Library; if not, see
  1587  //    <https://www.gnu.org/licenses/>.
  1588  
  1589  var _ uint8 /* gen.c:2:13: */