gtsocial-umbx

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

unistd_netbsd_amd64.go (93241B)


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