gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

unistd_linux_ppc64le.go (68422B)


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