gtsocial-umbx

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

unistd_netbsd_arm.go (92434B)


      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_netbsd_arm.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 	BIG_ENDIAN                        = 4321                 // endian.h:101:1:
     19 	BYTE_ORDER                        = 1234                 // endian.h:103:1:
     20 	FDATASYNC                         = 0x0010               // unistd.h:196:1:
     21 	FDISKSYNC                         = 0x0040               // unistd.h:198:1:
     22 	FD_SETSIZE                        = 256                  // fd_set.h:59:1:
     23 	FFILESYNC                         = 0x0020               // unistd.h:197:1:
     24 	F_LOCK                            = 1                    // unistd.h:253:1:
     25 	F_OK                              = 0                    // unistd.h:172:1:
     26 	F_TEST                            = 3                    // unistd.h:255:1:
     27 	F_TLOCK                           = 2                    // unistd.h:254:1:
     28 	F_ULOCK                           = 0                    // unistd.h:252:1:
     29 	GETPASS_7BIT                      = 0x080                // unistd.h:351:1:
     30 	GETPASS_BUF_LIMIT                 = 0x004                // unistd.h:346:1:
     31 	GETPASS_ECHO                      = 0x020                // unistd.h:349:1:
     32 	GETPASS_ECHO_NL                   = 0x400                // unistd.h:354:1:
     33 	GETPASS_ECHO_STAR                 = 0x040                // unistd.h:350:1:
     34 	GETPASS_FAIL_EOF                  = 0x002                // unistd.h:345:1:
     35 	GETPASS_FORCE_LOWER               = 0x100                // unistd.h:352:1:
     36 	GETPASS_FORCE_UPPER               = 0x200                // unistd.h:353:1:
     37 	GETPASS_NEED_TTY                  = 0x001                // unistd.h:344:1:
     38 	GETPASS_NO_BEEP                   = 0x010                // unistd.h:348:1:
     39 	GETPASS_NO_SIGNAL                 = 0x008                // unistd.h:347:1:
     40 	INT16_MAX                         = 32767                // common_int_limits.h:53:1:
     41 	INT16_MIN                         = -32768               // common_int_limits.h:47:1:
     42 	INT32_MAX                         = 2147483647           // common_int_limits.h:54:1:
     43 	INT32_MIN                         = -2147483648          // common_int_limits.h:48:1:
     44 	INT64_MAX                         = 9223372036854775807  // common_int_limits.h:55:1:
     45 	INT64_MIN                         = -9223372036854775808 // common_int_limits.h:49:1:
     46 	INT8_MAX                          = 127                  // common_int_limits.h:52:1:
     47 	INT8_MIN                          = -128                 // common_int_limits.h:46:1:
     48 	INTMAX_MAX                        = 9223372036854775807  // common_int_limits.h:111:1:
     49 	INTMAX_MIN                        = -9223372036854775808 // common_int_limits.h:110:1:
     50 	INTPTR_MAX                        = 2147483647           // common_int_limits.h:105:1:
     51 	INTPTR_MIN                        = -2147483648          // common_int_limits.h:104:1:
     52 	INT_FAST16_MAX                    = 2147483647           // common_int_limits.h:93:1:
     53 	INT_FAST16_MIN                    = -2147483648          // common_int_limits.h:87:1:
     54 	INT_FAST32_MAX                    = 2147483647           // common_int_limits.h:94:1:
     55 	INT_FAST32_MIN                    = -2147483648          // common_int_limits.h:88:1:
     56 	INT_FAST64_MAX                    = 9223372036854775807  // common_int_limits.h:95:1:
     57 	INT_FAST64_MIN                    = -9223372036854775808 // common_int_limits.h:89:1:
     58 	INT_FAST8_MAX                     = 2147483647           // common_int_limits.h:92:1:
     59 	INT_FAST8_MIN                     = -2147483648          // common_int_limits.h:86:1:
     60 	INT_LEAST16_MAX                   = 32767                // common_int_limits.h:73:1:
     61 	INT_LEAST16_MIN                   = -32768               // common_int_limits.h:67:1:
     62 	INT_LEAST32_MAX                   = 2147483647           // common_int_limits.h:74:1:
     63 	INT_LEAST32_MIN                   = -2147483648          // common_int_limits.h:68:1:
     64 	INT_LEAST64_MAX                   = 9223372036854775807  // common_int_limits.h:75:1:
     65 	INT_LEAST64_MIN                   = -9223372036854775808 // common_int_limits.h:69:1:
     66 	INT_LEAST8_MAX                    = 127                  // common_int_limits.h:72:1:
     67 	INT_LEAST8_MIN                    = -128                 // common_int_limits.h:66:1:
     68 	LITTLE_ENDIAN                     = 1234                 // endian.h:100:1:
     69 	L_INCR                            = 1                    // unistd.h:185:1:
     70 	L_SET                             = 0                    // unistd.h:184:1:
     71 	L_XTND                            = 2                    // unistd.h:186:1:
     72 	NBBY                              = 8                    // types.h:316:1:
     73 	NFDBITS                           = 32                   // fd_set.h:93:1:
     74 	NODEVMAJOR                        = -1                   // types.h:258:1:
     75 	PDP_ENDIAN                        = 3412                 // endian.h:102:1:
     76 	PTRDIFF_MAX                       = 2147483647           // common_int_limits.h:121:1:
     77 	PTRDIFF_MIN                       = -2147483648          // common_int_limits.h:120:1:
     78 	R_OK                              = 0x04                 // unistd.h:175:1:
     79 	SEEK_CUR                          = 1                    // unistd.h:179:1:
     80 	SEEK_END                          = 2                    // unistd.h:180:1:
     81 	SEEK_SET                          = 0                    // unistd.h:178:1:
     82 	SIG_ATOMIC_MAX                    = 2147483647           // common_int_limits.h:125:1:
     83 	SIG_ATOMIC_MIN                    = -2147483648          // common_int_limits.h:124:1:
     84 	SIZE_MAX                          = 4294967295           // common_int_limits.h:128:1:
     85 	STDERR_FILENO                     = 2                    // unistd.h:82:1:
     86 	STDIN_FILENO                      = 0                    // unistd.h:80:1:
     87 	STDOUT_FILENO                     = 1                    // unistd.h:81:1:
     88 	UINT16_MAX                        = 65535                // common_int_limits.h:59:1:
     89 	UINT32_MAX                        = 4294967295           // common_int_limits.h:60:1:
     90 	UINT64_MAX                        = 18446744073709551615 // common_int_limits.h:61:1:
     91 	UINT8_MAX                         = 255                  // common_int_limits.h:58:1:
     92 	UINTMAX_MAX                       = 18446744073709551615 // common_int_limits.h:112:1:
     93 	UINTPTR_MAX                       = 4294967295           // common_int_limits.h:106:1:
     94 	UINT_FAST16_MAX                   = 4294967295           // common_int_limits.h:99:1:
     95 	UINT_FAST32_MAX                   = 4294967295           // common_int_limits.h:100:1:
     96 	UINT_FAST64_MAX                   = 18446744073709551615 // common_int_limits.h:101:1:
     97 	UINT_FAST8_MAX                    = 4294967295           // common_int_limits.h:98:1:
     98 	UINT_LEAST16_MAX                  = 65535                // common_int_limits.h:79:1:
     99 	UINT_LEAST32_MAX                  = 4294967295           // common_int_limits.h:80:1:
    100 	UINT_LEAST64_MAX                  = 18446744073709551615 // common_int_limits.h:81:1:
    101 	UINT_LEAST8_MAX                   = 255                  // common_int_limits.h:78:1:
    102 	WCHAR_MAX                         = 2147483647           // wchar_limits.h:50:1:
    103 	WCHAR_MIN                         = -2147483648          // wchar_limits.h:42:1:
    104 	WINT_MAX                          = 2147483647           // wchar_limits.h:68:1:
    105 	WINT_MIN                          = -2147483648          // wchar_limits.h:60:1:
    106 	W_OK                              = 0x02                 // unistd.h:174:1:
    107 	X_OK                              = 0x01                 // unistd.h:173:1:
    108 	X_ARM_ARCH_4T                     = 0                    // cdefs.h:44:1:
    109 	X_ARM_ARCH_5                      = 0                    // cdefs.h:40:1:
    110 	X_ARM_ARCH_5T                     = 0                    // cdefs.h:36:1:
    111 	X_ARM_ARCH_6                      = 0                    // cdefs.h:31:1:
    112 	X_ARM_ARCH_7                      = 0                    // cdefs.h:20:1:
    113 	X_ARM_ARCH_DWORD_OK               = 0                    // cdefs.h:51:1:
    114 	X_ARM_ARCH_T2                     = 0                    // cdefs.h:24:1:
    115 	X_ARM_BSWAP_H_                    = 0                    // bswap.h:4:1:
    116 	X_ARM_BYTE_SWAP_H_                = 0                    // byte_swap.h:33:1:
    117 	X_ARM_CDEFS_H_                    = 0                    // cdefs.h:4:1:
    118 	X_ARM_INT_CONST_H_                = 0                    // int_const.h:33:1:
    119 	X_ARM_INT_LIMITS_H_               = 0                    // int_limits.h:33:1:
    120 	X_ARM_INT_MWGWTYPES_H_            = 0                    // int_mwgwtypes.h:33:1:
    121 	X_ARM_INT_TYPES_H_                = 0                    // int_types.h:33:1:
    122 	X_ARM_TYPES_H_                    = 0                    // types.h:35:1:
    123 	X_ARM_WCHAR_LIMITS_H_             = 0                    // wchar_limits.h:33:1:
    124 	X_BIG_ENDIAN                      = 4321                 // endian.h:44:1:
    125 	X_BSD_INT16_T_                    = 0                    // types.h:65:1:
    126 	X_BSD_INT32_T_                    = 0                    // types.h:75:1:
    127 	X_BSD_INT64_T_                    = 0                    // types.h:85:1:
    128 	X_BSD_INT8_T_                     = 0                    // types.h:55:1:
    129 	X_BSD_INTPTR_T_                   = 0                    // stdint.h:80:1:
    130 	X_BSD_UINT16_T_                   = 0                    // types.h:70:1:
    131 	X_BSD_UINT32_T_                   = 0                    // types.h:80:1:
    132 	X_BSD_UINT64_T_                   = 0                    // types.h:90:1:
    133 	X_BSD_UINT8_T_                    = 0                    // types.h:60:1:
    134 	X_BSD_UINTPTR_T_                  = 0                    // stdint.h:85:1:
    135 	X_BYTE_ORDER                      = 1234                 // endian_machdep.h:7:1:
    136 	X_CS_PATH                         = 1                    // unistd.h:338:1:
    137 	X_FILE_OFFSET_BITS                = 64                   // <builtin>:25:1:
    138 	X_LIB_PTHREAD_TYPES_H             = 0                    // pthread_types.h:33:1:
    139 	X_LITTLE_ENDIAN                   = 1234                 // endian.h:43:1:
    140 	X_NETBSD_SOURCE                   = 1                    // featuretest.h:70:1:
    141 	X_O_SC_CLK_TCK                    = 3                    // unistd.h:227:1:
    142 	X_PC_2_SYMLINKS                   = 13                   // unistd.h:214:1:
    143 	X_PC_ACL_EXTENDED                 = 14                   // unistd.h:215:1:
    144 	X_PC_CHOWN_RESTRICTED             = 7                    // unistd.h:208:1:
    145 	X_PC_FILESIZEBITS                 = 11                   // unistd.h:212:1:
    146 	X_PC_LINK_MAX                     = 1                    // unistd.h:202:1:
    147 	X_PC_MAX_CANON                    = 2                    // unistd.h:203:1:
    148 	X_PC_MAX_INPUT                    = 3                    // unistd.h:204:1:
    149 	X_PC_MIN_HOLE_SIZE                = 15                   // unistd.h:218:1:
    150 	X_PC_NAME_MAX                     = 4                    // unistd.h:205:1:
    151 	X_PC_NO_TRUNC                     = 8                    // unistd.h:209:1:
    152 	X_PC_PATH_MAX                     = 5                    // unistd.h:206:1:
    153 	X_PC_PIPE_BUF                     = 6                    // unistd.h:207:1:
    154 	X_PC_SYMLINK_MAX                  = 12                   // unistd.h:213:1:
    155 	X_PC_SYNC_IO                      = 10                   // unistd.h:211:1:
    156 	X_PC_VDISABLE                     = 9                    // unistd.h:210:1:
    157 	X_PDP_ENDIAN                      = 3412                 // endian.h:45:1:
    158 	X_POSIX2_C_BIND                   = 200112               // unistd.h:166:1:
    159 	X_POSIX2_VERSION                  = 200112               // unistd.h:63:1:
    160 	X_POSIX_ASYNCHRONOUS_IO           = 200112               // unistd.h:89:1:
    161 	X_POSIX_BARRIERS                  = 200112               // unistd.h:91:1:
    162 	X_POSIX_CHOWN_RESTRICTED          = 1                    // unistd.h:93:1:
    163 	X_POSIX_CLOCK_SELECTION           = -1                   // unistd.h:95:1:
    164 	X_POSIX_CPUTIME                   = 200112               // unistd.h:97:1:
    165 	X_POSIX_FSYNC                     = 1                    // unistd.h:101:1:
    166 	X_POSIX_IPV6                      = 0                    // unistd.h:103:1:
    167 	X_POSIX_JOB_CONTROL               = 1                    // unistd.h:105:1:
    168 	X_POSIX_MAPPED_FILES              = 1                    // unistd.h:107:1:
    169 	X_POSIX_MEMLOCK                   = 1                    // unistd.h:109:1:
    170 	X_POSIX_MEMLOCK_RANGE             = 1                    // unistd.h:111:1:
    171 	X_POSIX_MEMORY_PROTECTION         = 1                    // unistd.h:113:1:
    172 	X_POSIX_MESSAGE_PASSING           = 200112               // unistd.h:115:1:
    173 	X_POSIX_MONOTONIC_CLOCK           = 200112               // unistd.h:117:1:
    174 	X_POSIX_NO_TRUNC                  = 1                    // unistd.h:119:1:
    175 	X_POSIX_PRIORITIZED_IO            = -1                   // unistd.h:121:1:
    176 	X_POSIX_PRIORITY_SCHEDULING       = 200112               // unistd.h:123:1:
    177 	X_POSIX_RAW_SOCKETS               = 200112               // unistd.h:125:1:
    178 	X_POSIX_READER_WRITER_LOCKS       = 200112               // unistd.h:127:1:
    179 	X_POSIX_REGEXP                    = 1                    // unistd.h:131:1:
    180 	X_POSIX_SEMAPHORES                = 0                    // unistd.h:133:1:
    181 	X_POSIX_SHARED_MEMORY_OBJECTS     = 0                    // unistd.h:135:1:
    182 	X_POSIX_SHELL                     = 1                    // unistd.h:137:1:
    183 	X_POSIX_SPAWN                     = 200809               // unistd.h:68:1:
    184 	X_POSIX_SPIN_LOCKS                = 200112               // unistd.h:139:1:
    185 	X_POSIX_SYNCHRONIZED_IO           = 1                    // unistd.h:143:1:
    186 	X_POSIX_THREADS                   = 200112               // unistd.h:145:1:
    187 	X_POSIX_THREAD_ATTR_STACKADDR     = 200112               // unistd.h:149:1:
    188 	X_POSIX_THREAD_ATTR_STACKSIZE     = 200112               // unistd.h:147:1:
    189 	X_POSIX_THREAD_CPUTIME            = 200112               // unistd.h:151:1:
    190 	X_POSIX_THREAD_PRIO_PROTECT       = 200112               // unistd.h:153:1:
    191 	X_POSIX_THREAD_SAFE_FUNCTIONS     = 200112               // unistd.h:155:1:
    192 	X_POSIX_TIMERS                    = 200112               // unistd.h:159:1:
    193 	X_POSIX_VERSION                   = 200112               // unistd.h:62:1:
    194 	X_PT_BARRIERATTR_DEAD             = 0xDEAD0808           // pthread_types.h:278:1:
    195 	X_PT_BARRIERATTR_MAGIC            = 0x88880808           // pthread_types.h:277:1:
    196 	X_PT_BARRIER_DEAD                 = 0xDEAD0008           // pthread_types.h:270:1:
    197 	X_PT_BARRIER_MAGIC                = 0x88880008           // pthread_types.h:269:1:
    198 	X_PT_CONDATTR_DEAD                = 0xDEAD0006           // pthread_types.h:197:1:
    199 	X_PT_CONDATTR_MAGIC               = 0x66660006           // pthread_types.h:196:1:
    200 	X_PT_COND_DEAD                    = 0xDEAD0005           // pthread_types.h:182:1:
    201 	X_PT_COND_MAGIC                   = 0x55550005           // pthread_types.h:181:1:
    202 	X_PT_MUTEXATTR_DEAD               = 0xDEAD0004           // pthread_types.h:167:1:
    203 	X_PT_MUTEXATTR_MAGIC              = 0x44440004           // pthread_types.h:166:1:
    204 	X_PT_MUTEX_DEAD                   = 0xDEAD0003           // pthread_types.h:139:1:
    205 	X_PT_MUTEX_MAGIC                  = 0x33330003           // pthread_types.h:138:1:
    206 	X_PT_RWLOCKATTR_DEAD              = 0xDEAD0909           // pthread_types.h:253:1:
    207 	X_PT_RWLOCKATTR_MAGIC             = 0x99990909           // pthread_types.h:252:1:
    208 	X_PT_RWLOCK_DEAD                  = 0xDEAD0009           // pthread_types.h:236:1:
    209 	X_PT_RWLOCK_MAGIC                 = 0x99990009           // pthread_types.h:235:1:
    210 	X_PT_SPINLOCK_DEAD                = 0xDEAD0007           // pthread_types.h:213:1:
    211 	X_PT_SPINLOCK_MAGIC               = 0x77770007           // pthread_types.h:212:1:
    212 	X_PT_SPINLOCK_PSHARED             = 0x00000001           // pthread_types.h:214:1:
    213 	X_QUAD_HIGHWORD                   = 1                    // endian.h:84:1:
    214 	X_QUAD_LOWWORD                    = 0                    // endian.h:85:1:
    215 	X_SC_2_CHAR_TERM                  = 20                   // unistd.h:244:1:
    216 	X_SC_2_C_BIND                     = 18                   // unistd.h:242:1:
    217 	X_SC_2_C_DEV                      = 19                   // unistd.h:243:1:
    218 	X_SC_2_FORT_DEV                   = 21                   // unistd.h:245:1:
    219 	X_SC_2_FORT_RUN                   = 22                   // unistd.h:246:1:
    220 	X_SC_2_LOCALEDEF                  = 23                   // unistd.h:247:1:
    221 	X_SC_2_PBS                        = 80                   // unistd.h:305:1:
    222 	X_SC_2_PBS_ACCOUNTING             = 81                   // unistd.h:306:1:
    223 	X_SC_2_PBS_CHECKPOINT             = 82                   // unistd.h:307:1:
    224 	X_SC_2_PBS_LOCATE                 = 83                   // unistd.h:308:1:
    225 	X_SC_2_PBS_MESSAGE                = 84                   // unistd.h:309:1:
    226 	X_SC_2_PBS_TRACK                  = 85                   // unistd.h:310:1:
    227 	X_SC_2_SW_DEV                     = 24                   // unistd.h:248:1:
    228 	X_SC_2_UPE                        = 25                   // unistd.h:249:1:
    229 	X_SC_2_VERSION                    = 17                   // unistd.h:241:1:
    230 	X_SC_AIO_LISTIO_MAX               = 51                   // unistd.h:276:1:
    231 	X_SC_AIO_MAX                      = 52                   // unistd.h:277:1:
    232 	X_SC_ARG_MAX                      = 1                    // unistd.h:225:1:
    233 	X_SC_ASYNCHRONOUS_IO              = 50                   // unistd.h:275:1:
    234 	X_SC_ATEXIT_MAX                   = 40                   // unistd.h:265:1:
    235 	X_SC_BARRIERS                     = 43                   // unistd.h:268:1:
    236 	X_SC_BC_BASE_MAX                  = 9                    // unistd.h:233:1:
    237 	X_SC_BC_DIM_MAX                   = 10                   // unistd.h:234:1:
    238 	X_SC_BC_SCALE_MAX                 = 11                   // unistd.h:235:1:
    239 	X_SC_BC_STRING_MAX                = 12                   // unistd.h:236:1:
    240 	X_SC_CHILD_MAX                    = 2                    // unistd.h:226:1:
    241 	X_SC_CLK_TCK                      = 39                   // unistd.h:264:1:
    242 	X_SC_CLOCK_SELECTION              = 49                   // unistd.h:274:1:
    243 	X_SC_COLL_WEIGHTS_MAX             = 13                   // unistd.h:237:1:
    244 	X_SC_CPUTIME                      = 90                   // unistd.h:318:1:
    245 	X_SC_DELAYTIMER_MAX               = 92                   // unistd.h:320:1:
    246 	X_SC_EXPR_NEST_MAX                = 14                   // unistd.h:238:1:
    247 	X_SC_FSYNC                        = 29                   // unistd.h:254:1:
    248 	X_SC_GETGR_R_SIZE_MAX             = 47                   // unistd.h:272:1:
    249 	X_SC_GETPW_R_SIZE_MAX             = 48                   // unistd.h:273:1:
    250 	X_SC_HOST_NAME_MAX                = 69                   // unistd.h:294:1:
    251 	X_SC_IOV_MAX                      = 32                   // unistd.h:257:1:
    252 	X_SC_JOB_CONTROL                  = 6                    // unistd.h:230:1:
    253 	X_SC_LINE_MAX                     = 15                   // unistd.h:239:1:
    254 	X_SC_LOGIN_NAME_MAX               = 37                   // unistd.h:262:1:
    255 	X_SC_MAPPED_FILES                 = 33                   // unistd.h:258:1:
    256 	X_SC_MEMLOCK                      = 34                   // unistd.h:259:1:
    257 	X_SC_MEMLOCK_RANGE                = 35                   // unistd.h:260:1:
    258 	X_SC_MEMORY_PROTECTION            = 36                   // unistd.h:261:1:
    259 	X_SC_MESSAGE_PASSING              = 53                   // unistd.h:278:1:
    260 	X_SC_MONOTONIC_CLOCK              = 38                   // unistd.h:263:1:
    261 	X_SC_MQ_OPEN_MAX                  = 54                   // unistd.h:279:1:
    262 	X_SC_MQ_PRIO_MAX                  = 55                   // unistd.h:280:1:
    263 	X_SC_NGROUPS_MAX                  = 4                    // unistd.h:228:1:
    264 	X_SC_NPROCESSORS_CONF             = 1001                 // unistd.h:329:1:
    265 	X_SC_NPROCESSORS_ONLN             = 1002                 // unistd.h:330:1:
    266 	X_SC_OPEN_MAX                     = 5                    // unistd.h:229:1:
    267 	X_SC_PAGESIZE                     = 28                   // unistd.h:252:1:
    268 	X_SC_PAGE_SIZE                    = 28                   // unistd.h:253:1:
    269 	X_SC_PASS_MAX                     = 70                   // unistd.h:295:1:
    270 	X_SC_PHYS_PAGES                   = 121                  // unistd.h:325:1:
    271 	X_SC_PRIORITY_SCHEDULING          = 56                   // unistd.h:281:1:
    272 	X_SC_READER_WRITER_LOCKS          = 46                   // unistd.h:271:1:
    273 	X_SC_REALTIME_SIGNALS             = 94                   // unistd.h:322:1:
    274 	X_SC_REGEXP                       = 71                   // unistd.h:296:1:
    275 	X_SC_RE_DUP_MAX                   = 16                   // unistd.h:240:1:
    276 	X_SC_SAVED_IDS                    = 7                    // unistd.h:231:1:
    277 	X_SC_SCHED_PRI_MAX                = 2003                 // unistd.h:334:1:
    278 	X_SC_SCHED_PRI_MIN                = 2002                 // unistd.h:333:1:
    279 	X_SC_SCHED_RT_TS                  = 2001                 // unistd.h:332:1:
    280 	X_SC_SEMAPHORES                   = 42                   // unistd.h:267:1:
    281 	X_SC_SEM_NSEMS_MAX                = 89                   // unistd.h:317:1:
    282 	X_SC_SHARED_MEMORY_OBJECTS        = 87                   // unistd.h:314:1:
    283 	X_SC_SHELL                        = 72                   // unistd.h:297:1:
    284 	X_SC_SIGQUEUE_MAX                 = 93                   // unistd.h:321:1:
    285 	X_SC_SPAWN                        = 86                   // unistd.h:313:1:
    286 	X_SC_SPIN_LOCKS                   = 45                   // unistd.h:270:1:
    287 	X_SC_STREAM_MAX                   = 26                   // unistd.h:250:1:
    288 	X_SC_SYMLOOP_MAX                  = 73                   // unistd.h:298:1:
    289 	X_SC_SYNCHRONIZED_IO              = 31                   // unistd.h:256:1:
    290 	X_SC_THREADS                      = 41                   // unistd.h:266:1:
    291 	X_SC_THREAD_ATTR_STACKADDR        = 61                   // unistd.h:286:1:
    292 	X_SC_THREAD_ATTR_STACKSIZE        = 62                   // unistd.h:287:1:
    293 	X_SC_THREAD_CPUTIME               = 91                   // unistd.h:319:1:
    294 	X_SC_THREAD_DESTRUCTOR_ITERATIONS = 57                   // unistd.h:282:1:
    295 	X_SC_THREAD_KEYS_MAX              = 58                   // unistd.h:283:1:
    296 	X_SC_THREAD_PRIORITY_SCHEDULING   = 63                   // unistd.h:288:1:
    297 	X_SC_THREAD_PRIO_INHERIT          = 64                   // unistd.h:289:1:
    298 	X_SC_THREAD_PRIO_PROTECT          = 65                   // unistd.h:290:1:
    299 	X_SC_THREAD_PROCESS_SHARED        = 66                   // unistd.h:291:1:
    300 	X_SC_THREAD_SAFE_FUNCTIONS        = 67                   // unistd.h:292:1:
    301 	X_SC_THREAD_STACK_MIN             = 59                   // unistd.h:284:1:
    302 	X_SC_THREAD_THREADS_MAX           = 60                   // unistd.h:285:1:
    303 	X_SC_TIMERS                       = 44                   // unistd.h:269:1:
    304 	X_SC_TIMER_MAX                    = 88                   // unistd.h:316:1:
    305 	X_SC_TTY_NAME_MAX                 = 68                   // unistd.h:293:1:
    306 	X_SC_TZNAME_MAX                   = 27                   // unistd.h:251:1:
    307 	X_SC_V6_ILP32_OFF32               = 74                   // unistd.h:301:1:
    308 	X_SC_V6_ILP32_OFFBIG              = 75                   // unistd.h:302:1:
    309 	X_SC_V6_LP64_OFF64                = 76                   // unistd.h:303:1:
    310 	X_SC_V6_LPBIG_OFFBIG              = 77                   // unistd.h:304:1:
    311 	X_SC_VERSION                      = 8                    // unistd.h:232:1:
    312 	X_SC_XOPEN_SHM                    = 30                   // unistd.h:255:1:
    313 	X_SIZE_T                          = 0                    // types.h:279:1:
    314 	X_SYS_ANSI_H_                     = 0                    // ansi.h:33:1:
    315 	X_SYS_BSWAP_H_                    = 0                    // bswap.h:6:1:
    316 	X_SYS_CDEFS_ELF_H_                = 0                    // cdefs_elf.h:31:1:
    317 	X_SYS_CDEFS_H_                    = 0                    // cdefs.h:37:1:
    318 	X_SYS_COMMON_ANSI_H_              = 0                    // common_ansi.h:33:1:
    319 	X_SYS_COMMON_INT_LIMITS_H_        = 0                    // common_int_limits.h:33:1:
    320 	X_SYS_COMMON_INT_MWGWTYPES_H_     = 0                    // common_int_mwgwtypes.h:33:1:
    321 	X_SYS_COMMON_INT_TYPES_H_         = 0                    // common_int_types.h:33:1:
    322 	X_SYS_ENDIAN_H_                   = 0                    // endian.h:35:1:
    323 	X_SYS_FD_SET_H_                   = 0                    // fd_set.h:35:1:
    324 	X_SYS_NULL_H_                     = 0                    // null.h:9:1:
    325 	X_SYS_STDINT_H_                   = 0                    // stdint.h:33:1:
    326 	X_SYS_TYPES_H_                    = 0                    // types.h:40:1:
    327 	X_SYS_UNISTD_H_                   = 0                    // unistd.h:35:1:
    328 	X_UNISTD_H_                       = 0                    // unistd.h:64:1:
    329 	X_XOPEN_SHM                       = 0                    // unistd.h:169:1:
    330 )
    331 
    332 type Ptrdiff_t = int32 /* <builtin>:3:26 */
    333 
    334 type Size_t = uint32 /* <builtin>:9:23 */
    335 
    336 type Wchar_t = int32 /* <builtin>:15:24 */
    337 
    338 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    339 type X__float128 = float64        /* <builtin>:47:21 */
    340 
    341 // return true if value 'a' fits in type 't'
    342 
    343 //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
    344 
    345 // -
    346 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    347 // All rights reserved.
    348 //
    349 // This code is derived from software contributed to The NetBSD Foundation
    350 // by Matt Thomas of 3am Software Foundry.
    351 //
    352 // Redistribution and use in source and binary forms, with or without
    353 // modification, are permitted provided that the following conditions
    354 // are met:
    355 // 1. Redistributions of source code must retain the above copyright
    356 //    notice, this list of conditions and the following disclaimer.
    357 // 2. Redistributions in binary form must reproduce the above copyright
    358 //    notice, this list of conditions and the following disclaimer in the
    359 //    documentation and/or other materials provided with the distribution.
    360 //
    361 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    362 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    363 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    364 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    365 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    366 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    367 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    368 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    369 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    370 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    371 // POSSIBILITY OF SUCH DAMAGE.
    372 
    373 //	$NetBSD: common_int_types.h,v 1.1 2014/07/25 21:43:13 joerg Exp $
    374 
    375 // -
    376 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    377 // All rights reserved.
    378 //
    379 // This code is derived from software contributed to The NetBSD Foundation
    380 // by Joerg Sonnenberger.
    381 //
    382 // Redistribution and use in source and binary forms, with or without
    383 // modification, are permitted provided that the following conditions
    384 // are met:
    385 // 1. Redistributions of source code must retain the above copyright
    386 //    notice, this list of conditions and the following disclaimer.
    387 // 2. Redistributions in binary form must reproduce the above copyright
    388 //    notice, this list of conditions and the following disclaimer in the
    389 //    documentation and/or other materials provided with the distribution.
    390 //
    391 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    392 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    393 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    394 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    395 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    396 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    397 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    398 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    399 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    400 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    401 // POSSIBILITY OF SUCH DAMAGE.
    402 
    403 // 7.18.1 Integer types
    404 
    405 // 7.18.1.1 Exact-width integer types
    406 
    407 type X__int8_t = int8     /* common_int_types.h:45:27 */
    408 type X__uint8_t = uint8   /* common_int_types.h:46:27 */
    409 type X__int16_t = int16   /* common_int_types.h:47:27 */
    410 type X__uint16_t = uint16 /* common_int_types.h:48:27 */
    411 type X__int32_t = int32   /* common_int_types.h:49:27 */
    412 type X__uint32_t = uint32 /* common_int_types.h:50:27 */
    413 type X__int64_t = int64   /* common_int_types.h:51:27 */
    414 type X__uint64_t = uint64 /* common_int_types.h:52:27 */
    415 
    416 // 7.18.1.4 Integer types capable of holding object pointers
    417 
    418 type X__intptr_t = int32   /* common_int_types.h:58:27 */
    419 type X__uintptr_t = uint32 /* common_int_types.h:59:26 */
    420 
    421 // Types which are fundamental to the implementation and may appear in
    422 // more than one standard header are defined here.  Standard headers
    423 // then use:
    424 //	#ifdef	_BSD_SIZE_T_
    425 //	typedef	_BSD_SIZE_T_ size_t;
    426 //	#undef	_BSD_SIZE_T_
    427 //	#endif
    428 
    429 //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
    430 
    431 // -
    432 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    433 // All rights reserved.
    434 //
    435 // This code is derived from software contributed to The NetBSD Foundation
    436 // by Matt Thomas of 3am Software Foundry.
    437 //
    438 // Redistribution and use in source and binary forms, with or without
    439 // modification, are permitted provided that the following conditions
    440 // are met:
    441 // 1. Redistributions of source code must retain the above copyright
    442 //    notice, this list of conditions and the following disclaimer.
    443 // 2. Redistributions in binary form must reproduce the above copyright
    444 //    notice, this list of conditions and the following disclaimer in the
    445 //    documentation and/or other materials provided with the distribution.
    446 //
    447 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    448 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    449 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    450 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    451 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    452 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    453 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    454 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    455 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    456 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    457 // POSSIBILITY OF SUCH DAMAGE.
    458 
    459 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
    460 
    461 // * Copyright (c) 1991, 1993
    462 //	The Regents of the University of California.  All rights reserved.
    463 //
    464 // This code is derived from software contributed to Berkeley by
    465 // Berkeley Software Design, Inc.
    466 //
    467 // Redistribution and use in source and binary forms, with or without
    468 // modification, are permitted provided that the following conditions
    469 // are met:
    470 // 1. Redistributions of source code must retain the above copyright
    471 //    notice, this list of conditions and the following disclaimer.
    472 // 2. Redistributions in binary form must reproduce the above copyright
    473 //    notice, this list of conditions and the following disclaimer in the
    474 //    documentation and/or other materials provided with the distribution.
    475 // 3. Neither the name of the University nor the names of its contributors
    476 //    may be used to endorse or promote products derived from this software
    477 //    without specific prior written permission.
    478 //
    479 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    480 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    481 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    482 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    483 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    484 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    485 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    486 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    487 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    488 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    489 // SUCH DAMAGE.
    490 //
    491 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    492 
    493 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
    494 
    495 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
    496 // Public domain.
    497 //
    498 // NOTE: Do not protect this header against multiple inclusion.  Doing
    499 // so can have subtle side-effects due to header file inclusion order
    500 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
    501 // protect each CPP macro that we want to supply.
    502 
    503 // Feature-test macros are defined by several standards, and allow an
    504 // application to specify what symbols they want the system headers to
    505 // expose, and hence what standard they want them to conform to.
    506 // There are two classes of feature-test macros.  The first class
    507 // specify complete standards, and if one of these is defined, header
    508 // files will try to conform to the relevant standard.  They are:
    509 //
    510 // ANSI macros:
    511 // _ANSI_SOURCE			ANSI C89
    512 //
    513 // POSIX macros:
    514 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
    515 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
    516 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
    517 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
    518 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
    519 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
    520 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
    521 //
    522 // X/Open macros:
    523 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
    524 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
    525 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
    526 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
    527 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
    528 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
    529 //
    530 // NetBSD macros:
    531 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
    532 //
    533 // If more than one of these "major" feature-test macros is defined,
    534 // then the set of facilities provided (and namespace used) is the
    535 // union of that specified by the relevant standards, and in case of
    536 // conflict, the earlier standard in the above list has precedence (so
    537 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
    538 // of rename() that's used is the POSIX one).  If none of the "major"
    539 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
    540 //
    541 // There are also "minor" feature-test macros, which enable extra
    542 // functionality in addition to some base standard.  They should be
    543 // defined along with one of the "major" macros.  The "minor" macros
    544 // are:
    545 //
    546 // _REENTRANT
    547 // _ISOC99_SOURCE
    548 // _ISOC11_SOURCE
    549 // _LARGEFILE_SOURCE		Large File Support
    550 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
    551 
    552 //	$NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
    553 
    554 // -
    555 // Copyright (c) 1982, 1986, 1991, 1993, 1994
    556 //	The Regents of the University of California.  All rights reserved.
    557 // (c) UNIX System Laboratories, Inc.
    558 // All or some portions of this file are derived from material licensed
    559 // to the University of California by American Telephone and Telegraph
    560 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
    561 // the permission of UNIX System Laboratories, Inc.
    562 //
    563 // Redistribution and use in source and binary forms, with or without
    564 // modification, are permitted provided that the following conditions
    565 // are met:
    566 // 1. Redistributions of source code must retain the above copyright
    567 //    notice, this list of conditions and the following disclaimer.
    568 // 2. Redistributions in binary form must reproduce the above copyright
    569 //    notice, this list of conditions and the following disclaimer in the
    570 //    documentation and/or other materials provided with the distribution.
    571 // 3. Neither the name of the University nor the names of its contributors
    572 //    may be used to endorse or promote products derived from this software
    573 //    without specific prior written permission.
    574 //
    575 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    576 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    577 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    578 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    579 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    580 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    581 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    582 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    583 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    584 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    585 // SUCH DAMAGE.
    586 //
    587 //	@(#)types.h	8.4 (Berkeley) 1/21/94
    588 
    589 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
    590 
    591 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
    592 // Public domain.
    593 //
    594 // NOTE: Do not protect this header against multiple inclusion.  Doing
    595 // so can have subtle side-effects due to header file inclusion order
    596 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
    597 // protect each CPP macro that we want to supply.
    598 
    599 // Feature-test macros are defined by several standards, and allow an
    600 // application to specify what symbols they want the system headers to
    601 // expose, and hence what standard they want them to conform to.
    602 // There are two classes of feature-test macros.  The first class
    603 // specify complete standards, and if one of these is defined, header
    604 // files will try to conform to the relevant standard.  They are:
    605 //
    606 // ANSI macros:
    607 // _ANSI_SOURCE			ANSI C89
    608 //
    609 // POSIX macros:
    610 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
    611 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
    612 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
    613 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
    614 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
    615 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
    616 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
    617 //
    618 // X/Open macros:
    619 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
    620 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
    621 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
    622 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
    623 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
    624 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
    625 //
    626 // NetBSD macros:
    627 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
    628 //
    629 // If more than one of these "major" feature-test macros is defined,
    630 // then the set of facilities provided (and namespace used) is the
    631 // union of that specified by the relevant standards, and in case of
    632 // conflict, the earlier standard in the above list has precedence (so
    633 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
    634 // of rename() that's used is the POSIX one).  If none of the "major"
    635 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
    636 //
    637 // There are also "minor" feature-test macros, which enable extra
    638 // functionality in addition to some base standard.  They should be
    639 // defined along with one of the "major" macros.  The "minor" macros
    640 // are:
    641 //
    642 // _REENTRANT
    643 // _ISOC99_SOURCE
    644 // _ISOC11_SOURCE
    645 // _LARGEFILE_SOURCE		Large File Support
    646 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
    647 
    648 // Machine type dependent parameters.
    649 //	$NetBSD: types.h,v 1.38 2019/04/06 03:06:25 thorpej Exp $
    650 
    651 // Copyright (c) 1990 The Regents of the University of California.
    652 // All rights reserved.
    653 //
    654 // Redistribution and use in source and binary forms, with or without
    655 // modification, are permitted provided that the following conditions
    656 // are met:
    657 // 1. Redistributions of source code must retain the above copyright
    658 //    notice, this list of conditions and the following disclaimer.
    659 // 2. Redistributions in binary form must reproduce the above copyright
    660 //    notice, this list of conditions and the following disclaimer in the
    661 //    documentation and/or other materials provided with the distribution.
    662 // 3. Neither the name of the University nor the names of its contributors
    663 //    may be used to endorse or promote products derived from this software
    664 //    without specific prior written permission.
    665 //
    666 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    667 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    668 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    669 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    670 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    671 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    672 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    673 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    674 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    675 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    676 // SUCH DAMAGE.
    677 //
    678 //	from: @(#)types.h	7.5 (Berkeley) 3/9/91
    679 
    680 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
    681 
    682 // * Copyright (c) 1991, 1993
    683 //	The Regents of the University of California.  All rights reserved.
    684 //
    685 // This code is derived from software contributed to Berkeley by
    686 // Berkeley Software Design, Inc.
    687 //
    688 // Redistribution and use in source and binary forms, with or without
    689 // modification, are permitted provided that the following conditions
    690 // are met:
    691 // 1. Redistributions of source code must retain the above copyright
    692 //    notice, this list of conditions and the following disclaimer.
    693 // 2. Redistributions in binary form must reproduce the above copyright
    694 //    notice, this list of conditions and the following disclaimer in the
    695 //    documentation and/or other materials provided with the distribution.
    696 // 3. Neither the name of the University nor the names of its contributors
    697 //    may be used to endorse or promote products derived from this software
    698 //    without specific prior written permission.
    699 //
    700 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    701 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    702 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    703 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    704 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    705 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    706 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    707 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    708 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    709 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    710 // SUCH DAMAGE.
    711 //
    712 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    713 
    714 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
    715 
    716 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
    717 // Public domain.
    718 //
    719 // NOTE: Do not protect this header against multiple inclusion.  Doing
    720 // so can have subtle side-effects due to header file inclusion order
    721 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
    722 // protect each CPP macro that we want to supply.
    723 
    724 // Feature-test macros are defined by several standards, and allow an
    725 // application to specify what symbols they want the system headers to
    726 // expose, and hence what standard they want them to conform to.
    727 // There are two classes of feature-test macros.  The first class
    728 // specify complete standards, and if one of these is defined, header
    729 // files will try to conform to the relevant standard.  They are:
    730 //
    731 // ANSI macros:
    732 // _ANSI_SOURCE			ANSI C89
    733 //
    734 // POSIX macros:
    735 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
    736 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
    737 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
    738 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
    739 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
    740 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
    741 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
    742 //
    743 // X/Open macros:
    744 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
    745 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
    746 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
    747 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
    748 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
    749 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
    750 //
    751 // NetBSD macros:
    752 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
    753 //
    754 // If more than one of these "major" feature-test macros is defined,
    755 // then the set of facilities provided (and namespace used) is the
    756 // union of that specified by the relevant standards, and in case of
    757 // conflict, the earlier standard in the above list has precedence (so
    758 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
    759 // of rename() that's used is the POSIX one).  If none of the "major"
    760 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
    761 //
    762 // There are also "minor" feature-test macros, which enable extra
    763 // functionality in addition to some base standard.  They should be
    764 // defined along with one of the "major" macros.  The "minor" macros
    765 // are:
    766 //
    767 // _REENTRANT
    768 // _ISOC99_SOURCE
    769 // _ISOC11_SOURCE
    770 // _LARGEFILE_SOURCE		Large File Support
    771 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
    772 
    773 //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
    774 
    775 // -
    776 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    777 // All rights reserved.
    778 //
    779 // This code is derived from software contributed to The NetBSD Foundation
    780 // by Matt Thomas of 3am Software Foundry.
    781 //
    782 // Redistribution and use in source and binary forms, with or without
    783 // modification, are permitted provided that the following conditions
    784 // are met:
    785 // 1. Redistributions of source code must retain the above copyright
    786 //    notice, this list of conditions and the following disclaimer.
    787 // 2. Redistributions in binary form must reproduce the above copyright
    788 //    notice, this list of conditions and the following disclaimer in the
    789 //    documentation and/or other materials provided with the distribution.
    790 //
    791 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    792 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    793 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    794 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    795 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    796 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    797 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    798 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    799 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    800 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    801 // POSSIBILITY OF SUCH DAMAGE.
    802 
    803 // This should have always been an 8-bit type, but since it's been exposed
    804 // to user-space, we don't want ABI breakage there.
    805 type X__cpu_simple_lock_nv_t = int32 /* types.h:75:14 */
    806 type X__register_t = int32           /* types.h:77:14 */
    807 
    808 //	$NetBSD: ansi.h,v 1.18 2019/05/07 03:49:26 kamil Exp $
    809 
    810 //	$NetBSD: common_ansi.h,v 1.1 2014/08/19 07:27:31 matt Exp $
    811 
    812 // -
    813 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    814 // All rights reserved.
    815 //
    816 // This code is derived from software contributed to The NetBSD Foundation
    817 // by Matt Thomas of 3am Software Foundry.
    818 //
    819 // Redistribution and use in source and binary forms, with or without
    820 // modification, are permitted provided that the following conditions
    821 // are met:
    822 // 1. Redistributions of source code must retain the above copyright
    823 //    notice, this list of conditions and the following disclaimer.
    824 // 2. Redistributions in binary form must reproduce the above copyright
    825 //    notice, this list of conditions and the following disclaimer in the
    826 //    documentation and/or other materials provided with the distribution.
    827 //
    828 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    829 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    830 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    831 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    832 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    833 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    834 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    835 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    836 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    837 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    838 // POSSIBILITY OF SUCH DAMAGE.
    839 
    840 //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
    841 
    842 // -
    843 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    844 // All rights reserved.
    845 //
    846 // This code is derived from software contributed to The NetBSD Foundation
    847 // by Matt Thomas of 3am Software Foundry.
    848 //
    849 // Redistribution and use in source and binary forms, with or without
    850 // modification, are permitted provided that the following conditions
    851 // are met:
    852 // 1. Redistributions of source code must retain the above copyright
    853 //    notice, this list of conditions and the following disclaimer.
    854 // 2. Redistributions in binary form must reproduce the above copyright
    855 //    notice, this list of conditions and the following disclaimer in the
    856 //    documentation and/or other materials provided with the distribution.
    857 //
    858 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    859 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    860 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    861 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    862 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    863 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    864 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    865 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    866 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    867 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    868 // POSSIBILITY OF SUCH DAMAGE.
    869 
    870 //	$NetBSD: ansi.h,v 1.14 2011/07/17 20:54:54 joerg Exp $
    871 
    872 // -
    873 // Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
    874 // All rights reserved.
    875 //
    876 // This code is derived from software contributed to The NetBSD Foundation
    877 // by Jun-ichiro itojun Hagino and by Klaus Klein.
    878 //
    879 // Redistribution and use in source and binary forms, with or without
    880 // modification, are permitted provided that the following conditions
    881 // are met:
    882 // 1. Redistributions of source code must retain the above copyright
    883 //    notice, this list of conditions and the following disclaimer.
    884 // 2. Redistributions in binary form must reproduce the above copyright
    885 //    notice, this list of conditions and the following disclaimer in the
    886 //    documentation and/or other materials provided with the distribution.
    887 //
    888 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    889 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    890 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    891 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    892 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    893 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    894 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    895 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    896 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    897 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    898 // POSSIBILITY OF SUCH DAMAGE.
    899 
    900 //	$NetBSD: ansi.h,v 1.18 2019/05/07 03:49:26 kamil Exp $
    901 
    902 //	$NetBSD: common_ansi.h,v 1.1 2014/08/19 07:27:31 matt Exp $
    903 
    904 // -
    905 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    906 // All rights reserved.
    907 //
    908 // This code is derived from software contributed to The NetBSD Foundation
    909 // by Matt Thomas of 3am Software Foundry.
    910 //
    911 // Redistribution and use in source and binary forms, with or without
    912 // modification, are permitted provided that the following conditions
    913 // are met:
    914 // 1. Redistributions of source code must retain the above copyright
    915 //    notice, this list of conditions and the following disclaimer.
    916 // 2. Redistributions in binary form must reproduce the above copyright
    917 //    notice, this list of conditions and the following disclaimer in the
    918 //    documentation and/or other materials provided with the distribution.
    919 //
    920 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    921 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    922 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    923 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    924 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    925 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    926 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    927 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    928 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    929 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    930 // POSSIBILITY OF SUCH DAMAGE.
    931 
    932 type X__caddr_t = uintptr        /* ansi.h:37:14 */ // core address
    933 type X__gid_t = X__uint32_t      /* ansi.h:38:20 */ // group id
    934 type X__in_addr_t = X__uint32_t  /* ansi.h:39:20 */ // IP(v4) address
    935 type X__in_port_t = X__uint16_t  /* ansi.h:40:20 */ // "Internet" port number
    936 type X__mode_t = X__uint32_t     /* ansi.h:41:20 */ // file permissions
    937 type X__off_t = X__int64_t       /* ansi.h:42:19 */ // file offset
    938 type X__pid_t = X__int32_t       /* ansi.h:43:19 */ // process id
    939 type X__sa_family_t = X__uint8_t /* ansi.h:44:19 */ // socket address family
    940 type X__socklen_t = uint32       /* ansi.h:45:22 */ // socket-related datum length
    941 type X__uid_t = X__uint32_t      /* ansi.h:46:20 */ // user id
    942 type X__fsblkcnt_t = X__uint64_t /* ansi.h:47:20 */ // fs block count (statvfs)
    943 type X__fsfilcnt_t = X__uint64_t /* ansi.h:48:20 */
    944 type X__wctrans_t = uintptr      /* ansi.h:51:32 */
    945 type X__wctype_t = uintptr       /* ansi.h:54:31 */
    946 
    947 // mbstate_t is an opaque object to keep conversion state, during multibyte
    948 // stream conversions.  The content must not be referenced by user programs.
    949 type X__mbstate_t = struct {
    950 	F__mbstateL  X__int64_t
    951 	F__ccgo_pad1 [120]byte
    952 } /* ansi.h:63:3 */
    953 
    954 type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
    955 
    956 type Int8_t = X__int8_t /* types.h:54:18 */
    957 
    958 type Uint8_t = X__uint8_t /* types.h:59:19 */
    959 
    960 type Int16_t = X__int16_t /* types.h:64:19 */
    961 
    962 type Uint16_t = X__uint16_t /* types.h:69:20 */
    963 
    964 type Int32_t = X__int32_t /* types.h:74:19 */
    965 
    966 type Uint32_t = X__uint32_t /* types.h:79:20 */
    967 
    968 type Int64_t = X__int64_t /* types.h:84:19 */
    969 
    970 type Uint64_t = X__uint64_t /* types.h:89:20 */
    971 
    972 type U_int8_t = Uint8_t   /* types.h:93:18 */
    973 type U_int16_t = Uint16_t /* types.h:94:18 */
    974 type U_int32_t = Uint32_t /* types.h:95:18 */
    975 type U_int64_t = Uint64_t /* types.h:96:18 */
    976 
    977 //	$NetBSD: endian.h,v 1.3 2001/06/23 12:20:27 bjh21 Exp $
    978 
    979 //	$NetBSD: endian.h,v 1.30 2016/02/27 21:37:35 christos Exp $
    980 
    981 // Copyright (c) 1987, 1991, 1993
    982 //	The Regents of the University of California.  All rights reserved.
    983 //
    984 // Redistribution and use in source and binary forms, with or without
    985 // modification, are permitted provided that the following conditions
    986 // are met:
    987 // 1. Redistributions of source code must retain the above copyright
    988 //    notice, this list of conditions and the following disclaimer.
    989 // 2. Redistributions in binary form must reproduce the above copyright
    990 //    notice, this list of conditions and the following disclaimer in the
    991 //    documentation and/or other materials provided with the distribution.
    992 // 3. Neither the name of the University nor the names of its contributors
    993 //    may be used to endorse or promote products derived from this software
    994 //    without specific prior written permission.
    995 //
    996 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    997 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    998 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    999 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1000 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1001 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1002 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1003 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1004 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1005 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1006 // SUCH DAMAGE.
   1007 //
   1008 //	@(#)endian.h	8.1 (Berkeley) 6/11/93
   1009 
   1010 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
   1011 
   1012 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
   1013 // Public domain.
   1014 //
   1015 // NOTE: Do not protect this header against multiple inclusion.  Doing
   1016 // so can have subtle side-effects due to header file inclusion order
   1017 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
   1018 // protect each CPP macro that we want to supply.
   1019 
   1020 // Feature-test macros are defined by several standards, and allow an
   1021 // application to specify what symbols they want the system headers to
   1022 // expose, and hence what standard they want them to conform to.
   1023 // There are two classes of feature-test macros.  The first class
   1024 // specify complete standards, and if one of these is defined, header
   1025 // files will try to conform to the relevant standard.  They are:
   1026 //
   1027 // ANSI macros:
   1028 // _ANSI_SOURCE			ANSI C89
   1029 //
   1030 // POSIX macros:
   1031 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
   1032 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
   1033 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
   1034 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
   1035 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
   1036 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
   1037 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
   1038 //
   1039 // X/Open macros:
   1040 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
   1041 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
   1042 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
   1043 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
   1044 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
   1045 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
   1046 //
   1047 // NetBSD macros:
   1048 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
   1049 //
   1050 // If more than one of these "major" feature-test macros is defined,
   1051 // then the set of facilities provided (and namespace used) is the
   1052 // union of that specified by the relevant standards, and in case of
   1053 // conflict, the earlier standard in the above list has precedence (so
   1054 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
   1055 // of rename() that's used is the POSIX one).  If none of the "major"
   1056 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
   1057 //
   1058 // There are also "minor" feature-test macros, which enable extra
   1059 // functionality in addition to some base standard.  They should be
   1060 // defined along with one of the "major" macros.  The "minor" macros
   1061 // are:
   1062 //
   1063 // _REENTRANT
   1064 // _ISOC99_SOURCE
   1065 // _ISOC11_SOURCE
   1066 // _LARGEFILE_SOURCE		Large File Support
   1067 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
   1068 
   1069 // Definitions for byte order, according to byte significance from low
   1070 // address to high.
   1071 
   1072 // C-family endian-ness definitions
   1073 
   1074 //	$NetBSD: ansi.h,v 1.14 2011/07/17 20:54:54 joerg Exp $
   1075 
   1076 // -
   1077 // Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
   1078 // All rights reserved.
   1079 //
   1080 // This code is derived from software contributed to The NetBSD Foundation
   1081 // by Jun-ichiro itojun Hagino and by Klaus Klein.
   1082 //
   1083 // Redistribution and use in source and binary forms, with or without
   1084 // modification, are permitted provided that the following conditions
   1085 // are met:
   1086 // 1. Redistributions of source code must retain the above copyright
   1087 //    notice, this list of conditions and the following disclaimer.
   1088 // 2. Redistributions in binary form must reproduce the above copyright
   1089 //    notice, this list of conditions and the following disclaimer in the
   1090 //    documentation and/or other materials provided with the distribution.
   1091 //
   1092 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1093 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1094 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1095 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1096 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1097 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1098 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1099 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1100 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1101 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1102 // POSSIBILITY OF SUCH DAMAGE.
   1103 
   1104 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
   1105 
   1106 // * Copyright (c) 1991, 1993
   1107 //	The Regents of the University of California.  All rights reserved.
   1108 //
   1109 // This code is derived from software contributed to Berkeley by
   1110 // Berkeley Software Design, Inc.
   1111 //
   1112 // Redistribution and use in source and binary forms, with or without
   1113 // modification, are permitted provided that the following conditions
   1114 // are met:
   1115 // 1. Redistributions of source code must retain the above copyright
   1116 //    notice, this list of conditions and the following disclaimer.
   1117 // 2. Redistributions in binary form must reproduce the above copyright
   1118 //    notice, this list of conditions and the following disclaimer in the
   1119 //    documentation and/or other materials provided with the distribution.
   1120 // 3. Neither the name of the University nor the names of its contributors
   1121 //    may be used to endorse or promote products derived from this software
   1122 //    without specific prior written permission.
   1123 //
   1124 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1125 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1126 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1127 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1128 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1129 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1130 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1131 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1132 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1133 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1134 // SUCH DAMAGE.
   1135 //
   1136 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1137 
   1138 //	$NetBSD: types.h,v 1.102 2018/11/06 16:26:44 maya Exp $
   1139 
   1140 // -
   1141 // Copyright (c) 1982, 1986, 1991, 1993, 1994
   1142 //	The Regents of the University of California.  All rights reserved.
   1143 // (c) UNIX System Laboratories, Inc.
   1144 // All or some portions of this file are derived from material licensed
   1145 // to the University of California by American Telephone and Telegraph
   1146 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
   1147 // the permission of UNIX System Laboratories, Inc.
   1148 //
   1149 // Redistribution and use in source and binary forms, with or without
   1150 // modification, are permitted provided that the following conditions
   1151 // are met:
   1152 // 1. Redistributions of source code must retain the above copyright
   1153 //    notice, this list of conditions and the following disclaimer.
   1154 // 2. Redistributions in binary form must reproduce the above copyright
   1155 //    notice, this list of conditions and the following disclaimer in the
   1156 //    documentation and/or other materials provided with the distribution.
   1157 // 3. Neither the name of the University nor the names of its contributors
   1158 //    may be used to endorse or promote products derived from this software
   1159 //    without specific prior written permission.
   1160 //
   1161 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1162 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1163 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1164 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1165 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1166 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1167 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1168 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1169 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1170 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1171 // SUCH DAMAGE.
   1172 //
   1173 //	@(#)types.h	8.4 (Berkeley) 1/21/94
   1174 
   1175 type In_addr_t = X__in_addr_t /* endian.h:58:21 */
   1176 
   1177 type In_port_t = X__in_port_t /* endian.h:63:21 */
   1178 
   1179 //      $NetBSD: bswap.h,v 1.19 2015/03/12 15:28:16 christos Exp $
   1180 
   1181 // Written by Manuel Bouyer. Public domain
   1182 
   1183 //	$NetBSD: stdint.h,v 1.8 2018/11/06 16:26:44 maya Exp $
   1184 
   1185 // -
   1186 // Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
   1187 // All rights reserved.
   1188 //
   1189 // This code is derived from software contributed to The NetBSD Foundation
   1190 // by Klaus Klein.
   1191 //
   1192 // Redistribution and use in source and binary forms, with or without
   1193 // modification, are permitted provided that the following conditions
   1194 // are met:
   1195 // 1. Redistributions of source code must retain the above copyright
   1196 //    notice, this list of conditions and the following disclaimer.
   1197 // 2. Redistributions in binary form must reproduce the above copyright
   1198 //    notice, this list of conditions and the following disclaimer in the
   1199 //    documentation and/or other materials provided with the distribution.
   1200 //
   1201 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1202 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1203 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1204 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1205 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1206 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1207 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1208 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1209 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1210 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1211 // POSSIBILITY OF SUCH DAMAGE.
   1212 
   1213 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
   1214 
   1215 // * Copyright (c) 1991, 1993
   1216 //	The Regents of the University of California.  All rights reserved.
   1217 //
   1218 // This code is derived from software contributed to Berkeley by
   1219 // Berkeley Software Design, Inc.
   1220 //
   1221 // Redistribution and use in source and binary forms, with or without
   1222 // modification, are permitted provided that the following conditions
   1223 // are met:
   1224 // 1. Redistributions of source code must retain the above copyright
   1225 //    notice, this list of conditions and the following disclaimer.
   1226 // 2. Redistributions in binary form must reproduce the above copyright
   1227 //    notice, this list of conditions and the following disclaimer in the
   1228 //    documentation and/or other materials provided with the distribution.
   1229 // 3. Neither the name of the University nor the names of its contributors
   1230 //    may be used to endorse or promote products derived from this software
   1231 //    without specific prior written permission.
   1232 //
   1233 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1234 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1235 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1236 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1237 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1238 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1239 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1240 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1241 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1242 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1243 // SUCH DAMAGE.
   1244 //
   1245 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1246 
   1247 //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
   1248 
   1249 // -
   1250 // Copyright (c) 2014 The NetBSD Foundation, Inc.
   1251 // All rights reserved.
   1252 //
   1253 // This code is derived from software contributed to The NetBSD Foundation
   1254 // by Matt Thomas of 3am Software Foundry.
   1255 //
   1256 // Redistribution and use in source and binary forms, with or without
   1257 // modification, are permitted provided that the following conditions
   1258 // are met:
   1259 // 1. Redistributions of source code must retain the above copyright
   1260 //    notice, this list of conditions and the following disclaimer.
   1261 // 2. Redistributions in binary form must reproduce the above copyright
   1262 //    notice, this list of conditions and the following disclaimer in the
   1263 //    documentation and/or other materials provided with the distribution.
   1264 //
   1265 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1266 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1267 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1268 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1269 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1270 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1271 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1272 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1273 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1274 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1275 // POSSIBILITY OF SUCH DAMAGE.
   1276 
   1277 type Intptr_t = X__intptr_t /* stdint.h:79:20 */
   1278 
   1279 type Uintptr_t = X__uintptr_t /* stdint.h:84:21 */
   1280 
   1281 // $NetBSD: int_mwgwtypes.h,v 1.7 2014/07/25 21:43:13 joerg Exp $
   1282 
   1283 // -
   1284 // Copyright (c) 2014 The NetBSD Foundation, Inc.
   1285 // All rights reserved.
   1286 //
   1287 // This code is derived from software contributed to The NetBSD Foundation
   1288 // by Matt Thomas of 3am Software Foundry.
   1289 //
   1290 // Redistribution and use in source and binary forms, with or without
   1291 // modification, are permitted provided that the following conditions
   1292 // are met:
   1293 // 1. Redistributions of source code must retain the above copyright
   1294 //    notice, this list of conditions and the following disclaimer.
   1295 // 2. Redistributions in binary form must reproduce the above copyright
   1296 //    notice, this list of conditions and the following disclaimer in the
   1297 //    documentation and/or other materials provided with the distribution.
   1298 //
   1299 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1300 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1301 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1302 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1303 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1304 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1305 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1306 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1307 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1308 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1309 // POSSIBILITY OF SUCH DAMAGE.
   1310 
   1311 //	$NetBSD: common_int_mwgwtypes.h,v 1.1 2014/07/25 21:43:13 joerg Exp $
   1312 
   1313 // -
   1314 // Copyright (c) 2014 The NetBSD Foundation, Inc.
   1315 // All rights reserved.
   1316 //
   1317 // This code is derived from software contributed to The NetBSD Foundation
   1318 // by Joerg Sonnenberger.
   1319 //
   1320 // Redistribution and use in source and binary forms, with or without
   1321 // modification, are permitted provided that the following conditions
   1322 // are met:
   1323 // 1. Redistributions of source code must retain the above copyright
   1324 //    notice, this list of conditions and the following disclaimer.
   1325 // 2. Redistributions in binary form must reproduce the above copyright
   1326 //    notice, this list of conditions and the following disclaimer in the
   1327 //    documentation and/or other materials provided with the distribution.
   1328 //
   1329 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1330 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1331 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1332 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1333 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1334 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1335 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1336 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1337 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1338 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1339 // POSSIBILITY OF SUCH DAMAGE.
   1340 
   1341 // 7.18.1 Integer types
   1342 
   1343 // 7.18.1.2 Minimum-width integer types
   1344 
   1345 type Int_least8_t = int8     /* common_int_mwgwtypes.h:45:32 */
   1346 type Uint_least8_t = uint8   /* common_int_mwgwtypes.h:46:32 */
   1347 type Int_least16_t = int16   /* common_int_mwgwtypes.h:47:32 */
   1348 type Uint_least16_t = uint16 /* common_int_mwgwtypes.h:48:32 */
   1349 type Int_least32_t = int32   /* common_int_mwgwtypes.h:49:32 */
   1350 type Uint_least32_t = uint32 /* common_int_mwgwtypes.h:50:32 */
   1351 type Int_least64_t = int64   /* common_int_mwgwtypes.h:51:32 */
   1352 type Uint_least64_t = uint64 /* common_int_mwgwtypes.h:52:32 */
   1353 
   1354 // 7.18.1.3 Fastest minimum-width integer types
   1355 type Int_fast8_t = int32    /* common_int_mwgwtypes.h:55:32 */
   1356 type Uint_fast8_t = uint32  /* common_int_mwgwtypes.h:56:32 */
   1357 type Int_fast16_t = int32   /* common_int_mwgwtypes.h:57:32 */
   1358 type Uint_fast16_t = uint32 /* common_int_mwgwtypes.h:58:32 */
   1359 type Int_fast32_t = int32   /* common_int_mwgwtypes.h:59:32 */
   1360 type Uint_fast32_t = uint32 /* common_int_mwgwtypes.h:60:32 */
   1361 type Int_fast64_t = int64   /* common_int_mwgwtypes.h:61:32 */
   1362 type Uint_fast64_t = uint64 /* common_int_mwgwtypes.h:62:32 */
   1363 
   1364 // 7.18.1.5 Greatest-width integer types
   1365 
   1366 type Intmax_t = int64   /* common_int_mwgwtypes.h:66:33 */
   1367 type Uintmax_t = uint64 /* common_int_mwgwtypes.h:67:32 */
   1368 
   1369 type U_char = uint8   /* types.h:101:23 */
   1370 type U_short = uint16 /* types.h:102:24 */
   1371 type U_int = uint32   /* types.h:103:22 */
   1372 type U_long = uint32  /* types.h:104:23 */
   1373 
   1374 type Unchar = uint8  /* types.h:106:23 */ // Sys V compatibility
   1375 type Ushort = uint16 /* types.h:107:24 */ // Sys V compatibility
   1376 type Uint = uint32   /* types.h:108:22 */ // Sys V compatibility
   1377 type Ulong = uint32  /* types.h:109:23 */ // Sys V compatibility
   1378 
   1379 type U_quad_t = Uint64_t /* types.h:112:18 */ // quads
   1380 type Quad_t = Int64_t    /* types.h:113:18 */
   1381 type Qaddr_t = uintptr   /* types.h:114:16 */
   1382 
   1383 // The types longlong_t and u_longlong_t exist for use with the
   1384 // Sun-derived XDR routines involving these types, and their usage
   1385 // in other contexts is discouraged.  Further note that these types
   1386 // may not be equivalent to "long long" and "unsigned long long",
   1387 // they are only guaranteed to be signed and unsigned 64-bit types
   1388 // respectively.  Portable programs that need 64-bit types should use
   1389 // the C99 types int64_t and uint64_t instead.
   1390 
   1391 type Longlong_t = Int64_t    /* types.h:126:18 */ // for XDR
   1392 type U_longlong_t = Uint64_t /* types.h:127:18 */ // for XDR
   1393 
   1394 type Blkcnt_t = Int64_t  /* types.h:129:18 */ // fs block count
   1395 type Blksize_t = Int32_t /* types.h:130:18 */ // fs optimal block size
   1396 
   1397 type Fsblkcnt_t = X__fsblkcnt_t /* types.h:133:22 */ // fs block count (statvfs)
   1398 
   1399 type Fsfilcnt_t = X__fsfilcnt_t /* types.h:138:22 */ // fs file count
   1400 
   1401 // We don't and shouldn't use caddr_t in the kernel anymore
   1402 type Caddr_t = X__caddr_t /* types.h:145:19 */ // core address
   1403 
   1404 type Daddr_t = Int64_t /* types.h:154:18 */ // disk address
   1405 
   1406 type Dev_t = Uint64_t   /* types.h:157:18 */ // device number
   1407 type Fixpt_t = Uint32_t /* types.h:158:18 */ // fixed point number
   1408 
   1409 type Gid_t = X__gid_t /* types.h:161:18 */ // group id
   1410 
   1411 type Id_t = Uint32_t  /* types.h:165:18 */ // group id, process id or user id
   1412 type Ino_t = Uint64_t /* types.h:166:18 */ // inode number
   1413 type Key_t = int32    /* types.h:167:15 */ // IPC key (for Sys V IPC)
   1414 
   1415 type Mode_t = X__mode_t /* types.h:170:18 */ // permissions
   1416 
   1417 type Nlink_t = Uint32_t /* types.h:174:18 */ // link count
   1418 
   1419 type Off_t = X__off_t /* types.h:177:18 */ // file offset
   1420 
   1421 type Pid_t = X__pid_t  /* types.h:182:18 */ // process id
   1422 type Lwpid_t = Int32_t /* types.h:185:18 */ // LWP id
   1423 type Rlim_t = Uint64_t /* types.h:186:18 */ // resource limit
   1424 type Segsz_t = Int32_t /* types.h:187:18 */ // segment size
   1425 type Swblk_t = Int32_t /* types.h:188:18 */ // swap offset
   1426 
   1427 type Uid_t = X__uid_t /* types.h:191:18 */ // user id
   1428 
   1429 type Mqd_t = int32 /* types.h:195:14 */
   1430 
   1431 type Cpuid_t = uint32 /* types.h:197:23 */
   1432 
   1433 type Psetid_t = int32 /* types.h:199:14 */
   1434 
   1435 type X__cpu_simple_lock_t = X__cpu_simple_lock_nv_t /* types.h:201:41 */
   1436 
   1437 // Major, minor numbers, dev_t's.
   1438 type X__devmajor_t = Int32_t /* types.h:255:17 */
   1439 type X__devminor_t = Int32_t /* types.h:255:31 */
   1440 
   1441 type Clock_t = uint32 /* types.h:268:24 */
   1442 
   1443 type Ssize_t = int32 /* types.h:284:24 */
   1444 
   1445 type Time_t = X__int64_t /* types.h:289:23 */
   1446 
   1447 type Clockid_t = int32 /* types.h:294:26 */
   1448 
   1449 type Timer_t = int32 /* types.h:299:24 */
   1450 
   1451 type Suseconds_t = int32 /* types.h:304:27 */
   1452 
   1453 type Useconds_t = uint32 /* types.h:309:26 */
   1454 
   1455 //	$NetBSD: fd_set.h,v 1.7 2018/06/24 12:05:40 kamil Exp $
   1456 
   1457 // -
   1458 // Copyright (c) 1992, 1993
   1459 //	The Regents of the University of California.  All rights reserved.
   1460 //
   1461 // Redistribution and use in source and binary forms, with or without
   1462 // modification, are permitted provided that the following conditions
   1463 // are met:
   1464 // 1. Redistributions of source code must retain the above copyright
   1465 //    notice, this list of conditions and the following disclaimer.
   1466 // 2. Redistributions in binary form must reproduce the above copyright
   1467 //    notice, this list of conditions and the following disclaimer in the
   1468 //    documentation and/or other materials provided with the distribution.
   1469 // 3. Neither the name of the University nor the names of its contributors
   1470 //    may be used to endorse or promote products derived from this software
   1471 //    without specific prior written permission.
   1472 //
   1473 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1474 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1475 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1476 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1477 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1478 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1479 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1480 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1481 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1482 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1483 // SUCH DAMAGE.
   1484 //
   1485 //	from: @(#)types.h	8.4 (Berkeley) 1/21/94
   1486 
   1487 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
   1488 
   1489 // * Copyright (c) 1991, 1993
   1490 //	The Regents of the University of California.  All rights reserved.
   1491 //
   1492 // This code is derived from software contributed to Berkeley by
   1493 // Berkeley Software Design, Inc.
   1494 //
   1495 // Redistribution and use in source and binary forms, with or without
   1496 // modification, are permitted provided that the following conditions
   1497 // are met:
   1498 // 1. Redistributions of source code must retain the above copyright
   1499 //    notice, this list of conditions and the following disclaimer.
   1500 // 2. Redistributions in binary form must reproduce the above copyright
   1501 //    notice, this list of conditions and the following disclaimer in the
   1502 //    documentation and/or other materials provided with the distribution.
   1503 // 3. Neither the name of the University nor the names of its contributors
   1504 //    may be used to endorse or promote products derived from this software
   1505 //    without specific prior written permission.
   1506 //
   1507 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   1508 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   1509 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   1510 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   1511 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   1512 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   1513 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   1514 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   1515 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   1516 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   1517 // SUCH DAMAGE.
   1518 //
   1519 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   1520 
   1521 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
   1522 
   1523 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
   1524 // Public domain.
   1525 //
   1526 // NOTE: Do not protect this header against multiple inclusion.  Doing
   1527 // so can have subtle side-effects due to header file inclusion order
   1528 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
   1529 // protect each CPP macro that we want to supply.
   1530 
   1531 // Feature-test macros are defined by several standards, and allow an
   1532 // application to specify what symbols they want the system headers to
   1533 // expose, and hence what standard they want them to conform to.
   1534 // There are two classes of feature-test macros.  The first class
   1535 // specify complete standards, and if one of these is defined, header
   1536 // files will try to conform to the relevant standard.  They are:
   1537 //
   1538 // ANSI macros:
   1539 // _ANSI_SOURCE			ANSI C89
   1540 //
   1541 // POSIX macros:
   1542 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
   1543 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
   1544 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
   1545 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
   1546 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
   1547 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
   1548 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
   1549 //
   1550 // X/Open macros:
   1551 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
   1552 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
   1553 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
   1554 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
   1555 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
   1556 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
   1557 //
   1558 // NetBSD macros:
   1559 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
   1560 //
   1561 // If more than one of these "major" feature-test macros is defined,
   1562 // then the set of facilities provided (and namespace used) is the
   1563 // union of that specified by the relevant standards, and in case of
   1564 // conflict, the earlier standard in the above list has precedence (so
   1565 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
   1566 // of rename() that's used is the POSIX one).  If none of the "major"
   1567 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
   1568 //
   1569 // There are also "minor" feature-test macros, which enable extra
   1570 // functionality in addition to some base standard.  They should be
   1571 // defined along with one of the "major" macros.  The "minor" macros
   1572 // are:
   1573 //
   1574 // _REENTRANT
   1575 // _ISOC99_SOURCE
   1576 // _ISOC11_SOURCE
   1577 // _LARGEFILE_SOURCE		Large File Support
   1578 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
   1579 
   1580 //	$NetBSD: int_types.h,v 1.17 2014/07/25 21:43:13 joerg Exp $
   1581 
   1582 // -
   1583 // Copyright (c) 2014 The NetBSD Foundation, Inc.
   1584 // All rights reserved.
   1585 //
   1586 // This code is derived from software contributed to The NetBSD Foundation
   1587 // by Matt Thomas of 3am Software Foundry.
   1588 //
   1589 // Redistribution and use in source and binary forms, with or without
   1590 // modification, are permitted provided that the following conditions
   1591 // are met:
   1592 // 1. Redistributions of source code must retain the above copyright
   1593 //    notice, this list of conditions and the following disclaimer.
   1594 // 2. Redistributions in binary form must reproduce the above copyright
   1595 //    notice, this list of conditions and the following disclaimer in the
   1596 //    documentation and/or other materials provided with the distribution.
   1597 //
   1598 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1599 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1600 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1601 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1602 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1603 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1604 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1605 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1606 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1607 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1608 // POSSIBILITY OF SUCH DAMAGE.
   1609 
   1610 // Implementation dependent defines, hidden from user space.
   1611 // POSIX does not specify them.
   1612 
   1613 type X__fd_mask = X__uint32_t /* fd_set.h:46:20 */
   1614 
   1615 // 32 = 2 ^ 5
   1616 
   1617 // Select uses bit fields of file descriptors.  These macros manipulate
   1618 // such bit fields.  Note: FD_SETSIZE may be defined by the user.
   1619 
   1620 type Fd_set1 = struct{ Ffds_bits [8]X__fd_mask } /* fd_set.h:66:9 */
   1621 
   1622 // 32 = 2 ^ 5
   1623 
   1624 // Select uses bit fields of file descriptors.  These macros manipulate
   1625 // such bit fields.  Note: FD_SETSIZE may be defined by the user.
   1626 
   1627 type Fd_set = Fd_set1 /* fd_set.h:68:3 */
   1628 
   1629 // Expose our internals if we are not required to hide them.
   1630 
   1631 type Kauth_cred_t = uintptr /* types.h:318:27 */
   1632 
   1633 type Pri_t = int32 /* types.h:320:13 */
   1634 
   1635 //	$NetBSD: pthread_types.h,v 1.23 2017/09/09 23:21:45 kamil Exp $
   1636 
   1637 // -
   1638 // Copyright (c) 2001, 2008 The NetBSD Foundation, Inc.
   1639 // All rights reserved.
   1640 //
   1641 // This code is derived from software contributed to The NetBSD Foundation
   1642 // by Nathan J. Williams.
   1643 //
   1644 // Redistribution and use in source and binary forms, with or without
   1645 // modification, are permitted provided that the following conditions
   1646 // are met:
   1647 // 1. Redistributions of source code must retain the above copyright
   1648 //    notice, this list of conditions and the following disclaimer.
   1649 // 2. Redistributions in binary form must reproduce the above copyright
   1650 //    notice, this list of conditions and the following disclaimer in the
   1651 //    documentation and/or other materials provided with the distribution.
   1652 //
   1653 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   1654 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   1655 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1656 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   1657 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   1658 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   1659 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   1660 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   1661 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   1662 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   1663 // POSSIBILITY OF SUCH DAMAGE.
   1664 
   1665 // We use the "pthread_spin_t" name internally; "pthread_spinlock_t" is the
   1666 // POSIX spinlock object.
   1667 //
   1668 // C++ expects to be using PTHREAD_FOO_INITIALIZER as a member initializer.
   1669 // This does not work for volatile types.  Since C++ does not touch the guts
   1670 // of those types, we do not include volatile in the C++ definitions.
   1671 type Pthread_spin_t = X__cpu_simple_lock_t /* pthread_types.h:43:29 */
   1672 type X__pthread_spin_t = Pthread_spin_t    /* pthread_types.h:48:24 */
   1673 
   1674 // Copied from PTQ_HEAD in pthread_queue.h
   1675 
   1676 type Pthread_queue_struct_t = struct {
   1677 	Fptqh_first uintptr
   1678 	Fptqh_last  uintptr
   1679 } /* pthread_types.h:61:1 */
   1680 
   1681 type Pthread_queue_t = Pthread_queue_struct_t /* pthread_types.h:62:39 */
   1682 type X__pthread_attr_st = struct {
   1683 	Fpta_magic   uint32
   1684 	Fpta_flags   int32
   1685 	Fpta_private uintptr
   1686 } /* pthread_types.h:65:1 */
   1687 
   1688 type X__pthread_mutex_st = struct {
   1689 	Fptm_magic      uint32
   1690 	Fptm_errorcheck X__pthread_spin_t
   1691 	F__8            struct {
   1692 		F__ccgo_pad1 [0]uint32
   1693 		Fptm_ceiling uint8
   1694 		F__ccgo_pad2 [3]byte
   1695 	}
   1696 	Fptm_owner    Pthread_t
   1697 	Fptm_waiters  uintptr
   1698 	Fptm_recursed uint32
   1699 	Fptm_spare2   uintptr
   1700 } /* pthread_types.h:66:1 */
   1701 
   1702 type X__pthread_mutexattr_st = struct {
   1703 	Fptma_magic   uint32
   1704 	Fptma_private uintptr
   1705 } /* pthread_types.h:67:1 */
   1706 
   1707 type X__pthread_cond_st = struct {
   1708 	Fptc_magic   uint32
   1709 	Fptc_lock    X__pthread_spin_t
   1710 	Fptc_waiters Pthread_queue_t
   1711 	Fptc_mutex   uintptr
   1712 	Fptc_private uintptr
   1713 } /* pthread_types.h:68:1 */
   1714 
   1715 type X__pthread_condattr_st = struct {
   1716 	Fptca_magic   uint32
   1717 	Fptca_private uintptr
   1718 } /* pthread_types.h:69:1 */
   1719 
   1720 type X__pthread_rwlock_st = struct {
   1721 	Fptr_magic     uint32
   1722 	Fptr_interlock X__pthread_spin_t
   1723 	Fptr_rblocked  Pthread_queue_t
   1724 	Fptr_wblocked  Pthread_queue_t
   1725 	Fptr_nreaders  uint32
   1726 	Fptr_owner     Pthread_t
   1727 	Fptr_private   uintptr
   1728 } /* pthread_types.h:71:1 */
   1729 
   1730 type X__pthread_rwlockattr_st = struct {
   1731 	Fptra_magic   uint32
   1732 	Fptra_private uintptr
   1733 } /* pthread_types.h:72:1 */
   1734 
   1735 type X__pthread_barrier_st = struct {
   1736 	Fptb_magic      uint32
   1737 	Fptb_lock       Pthread_spin_t
   1738 	Fptb_waiters    Pthread_queue_t
   1739 	Fptb_initcount  uint32
   1740 	Fptb_curcount   uint32
   1741 	Fptb_generation uint32
   1742 	Fptb_private    uintptr
   1743 } /* pthread_types.h:73:1 */
   1744 
   1745 type X__pthread_barrierattr_st = struct {
   1746 	Fptba_magic   uint32
   1747 	Fptba_private uintptr
   1748 } /* pthread_types.h:74:1 */
   1749 
   1750 type Pthread_t = uintptr                           /* pthread_types.h:76:29 */
   1751 type Pthread_attr_t = X__pthread_attr_st           /* pthread_types.h:77:34 */
   1752 type Pthread_mutex_t = X__pthread_mutex_st         /* pthread_types.h:78:35 */
   1753 type Pthread_mutexattr_t = X__pthread_mutexattr_st /* pthread_types.h:79:39 */
   1754 type Pthread_cond_t = X__pthread_cond_st           /* pthread_types.h:80:34 */
   1755 type Pthread_condattr_t = X__pthread_condattr_st   /* pthread_types.h:81:38 */
   1756 type X__pthread_once_st = struct {
   1757 	Fpto_mutex Pthread_mutex_t
   1758 	Fpto_done  int32
   1759 } /* pthread_types.h:82:9 */
   1760 
   1761 type Pthread_once_t = X__pthread_once_st /* pthread_types.h:82:34 */
   1762 type X__pthread_spinlock_st = struct {
   1763 	Fpts_magic uint32
   1764 	Fpts_spin  X__pthread_spin_t
   1765 	Fpts_flags int32
   1766 } /* pthread_types.h:83:9 */
   1767 
   1768 type Pthread_spinlock_t = X__pthread_spinlock_st       /* pthread_types.h:83:38 */
   1769 type Pthread_rwlock_t = X__pthread_rwlock_st           /* pthread_types.h:84:36 */
   1770 type Pthread_rwlockattr_t = X__pthread_rwlockattr_st   /* pthread_types.h:85:40 */
   1771 type Pthread_barrier_t = X__pthread_barrier_st         /* pthread_types.h:86:37 */
   1772 type Pthread_barrierattr_t = X__pthread_barrierattr_st /* pthread_types.h:87:41 */
   1773 type Pthread_key_t = int32                             /* pthread_types.h:88:13 */ // getsubopt(3) external variable
   1774 
   1775 var _ uint8 /* gen.c:2:13: */