gtsocial-umbx

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

netdb_netbsd_amd64.go (55371B)


      1 // Code generated by 'ccgo netdb/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 netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
      2 
      3 package netdb
      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 	AI_ADDRCONFIG                 = 0x00000400             // netdb.h:269:1:
     19 	AI_CANONNAME                  = 0x00000002             // netdb.h:266:1:
     20 	AI_MASK                       = 3087                   // netdb.h:273:1:
     21 	AI_NUMERICHOST                = 0x00000004             // netdb.h:267:1:
     22 	AI_NUMERICSERV                = 0x00000008             // netdb.h:268:1:
     23 	AI_PASSIVE                    = 0x00000001             // netdb.h:265:1:
     24 	AI_SRV                        = 0x00000800             // netdb.h:272:1:
     25 	EAI_ADDRFAMILY                = 1                      // netdb.h:243:1:
     26 	EAI_AGAIN                     = 2                      // netdb.h:244:1:
     27 	EAI_BADFLAGS                  = 3                      // netdb.h:245:1:
     28 	EAI_BADHINTS                  = 12                     // netdb.h:254:1:
     29 	EAI_FAIL                      = 4                      // netdb.h:246:1:
     30 	EAI_FAMILY                    = 5                      // netdb.h:247:1:
     31 	EAI_MAX                       = 15                     // netdb.h:257:1:
     32 	EAI_MEMORY                    = 6                      // netdb.h:248:1:
     33 	EAI_NODATA                    = 7                      // netdb.h:249:1:
     34 	EAI_NONAME                    = 8                      // netdb.h:250:1:
     35 	EAI_OVERFLOW                  = 14                     // netdb.h:256:1:
     36 	EAI_PROTOCOL                  = 13                     // netdb.h:255:1:
     37 	EAI_SERVICE                   = 9                      // netdb.h:251:1:
     38 	EAI_SOCKTYPE                  = 10                     // netdb.h:252:1:
     39 	EAI_SYSTEM                    = 11                     // netdb.h:253:1:
     40 	HOST_NOT_FOUND                = 1                      // netdb.h:230:1:
     41 	INT16_MAX                     = 32767                  // common_int_limits.h:53:1:
     42 	INT16_MIN                     = -32768                 // common_int_limits.h:47:1:
     43 	INT32_MAX                     = 2147483647             // common_int_limits.h:54:1:
     44 	INT32_MIN                     = -2147483648            // common_int_limits.h:48:1:
     45 	INT64_MAX                     = 9223372036854775807    // common_int_limits.h:55:1:
     46 	INT64_MIN                     = -9223372036854775808   // common_int_limits.h:49:1:
     47 	INT8_MAX                      = 127                    // common_int_limits.h:52:1:
     48 	INT8_MIN                      = -128                   // common_int_limits.h:46:1:
     49 	INTMAX_MAX                    = 9223372036854775807    // common_int_limits.h:111:1:
     50 	INTMAX_MIN                    = -9223372036854775808   // common_int_limits.h:110:1:
     51 	INTPTR_MAX                    = 9223372036854775807    // common_int_limits.h:105:1:
     52 	INTPTR_MIN                    = -9223372036854775808   // common_int_limits.h:104:1:
     53 	INT_FAST16_MAX                = 2147483647             // common_int_limits.h:93:1:
     54 	INT_FAST16_MIN                = -2147483648            // common_int_limits.h:87:1:
     55 	INT_FAST32_MAX                = 2147483647             // common_int_limits.h:94:1:
     56 	INT_FAST32_MIN                = -2147483648            // common_int_limits.h:88:1:
     57 	INT_FAST64_MAX                = 9223372036854775807    // common_int_limits.h:95:1:
     58 	INT_FAST64_MIN                = -9223372036854775808   // common_int_limits.h:89:1:
     59 	INT_FAST8_MAX                 = 2147483647             // common_int_limits.h:92:1:
     60 	INT_FAST8_MIN                 = -2147483648            // common_int_limits.h:86:1:
     61 	INT_LEAST16_MAX               = 32767                  // common_int_limits.h:73:1:
     62 	INT_LEAST16_MIN               = -32768                 // common_int_limits.h:67:1:
     63 	INT_LEAST32_MAX               = 2147483647             // common_int_limits.h:74:1:
     64 	INT_LEAST32_MIN               = -2147483648            // common_int_limits.h:68:1:
     65 	INT_LEAST64_MAX               = 9223372036854775807    // common_int_limits.h:75:1:
     66 	INT_LEAST64_MIN               = -9223372036854775808   // common_int_limits.h:69:1:
     67 	INT_LEAST8_MAX                = 127                    // common_int_limits.h:72:1:
     68 	INT_LEAST8_MIN                = -128                   // common_int_limits.h:66:1:
     69 	NETDB_INTERNAL                = -1                     // netdb.h:226:1:
     70 	NETDB_SUCCESS                 = 0                      // netdb.h:227:1:
     71 	NI_DGRAM                      = 0x00000010             // netdb.h:300:1:
     72 	NI_MAXHOST                    = 1025                   // netdb.h:289:1:
     73 	NI_MAXSERV                    = 32                     // netdb.h:290:1:
     74 	NI_NAMEREQD                   = 0x00000004             // netdb.h:298:1:
     75 	NI_NOFQDN                     = 0x00000001             // netdb.h:296:1:
     76 	NI_NUMERICHOST                = 0x00000002             // netdb.h:297:1:
     77 	NI_NUMERICSCOPE               = 0x00000040             // netdb.h:302:1:
     78 	NI_NUMERICSERV                = 0x00000008             // netdb.h:299:1:
     79 	NI_WITHSCOPEID                = 0x00000020             // netdb.h:301:1:
     80 	NO_ADDRESS                    = 4                      // netdb.h:235:1:
     81 	NO_DATA                       = 4                      // netdb.h:233:1:
     82 	NO_RECOVERY                   = 3                      // netdb.h:232:1:
     83 	PRIX16                        = "X"                    // int_fmtio.h:125:1:
     84 	PRIX32                        = "X"                    // int_fmtio.h:126:1:
     85 	PRIX64                        = "lX"                   // int_fmtio.h:127:1:
     86 	PRIX8                         = "X"                    // int_fmtio.h:124:1:
     87 	PRIXFAST16                    = "X"                    // int_fmtio.h:133:1:
     88 	PRIXFAST32                    = "X"                    // int_fmtio.h:134:1:
     89 	PRIXFAST64                    = "lX"                   // int_fmtio.h:135:1:
     90 	PRIXFAST8                     = "X"                    // int_fmtio.h:132:1:
     91 	PRIXLEAST16                   = "X"                    // int_fmtio.h:129:1:
     92 	PRIXLEAST32                   = "X"                    // int_fmtio.h:130:1:
     93 	PRIXLEAST64                   = "lX"                   // int_fmtio.h:131:1:
     94 	PRIXLEAST8                    = "X"                    // int_fmtio.h:128:1:
     95 	PRIXMAX                       = "lX"                   // int_fmtio.h:136:1:
     96 	PRIXPTR                       = "lX"                   // int_fmtio.h:137:1:
     97 	PRId16                        = "d"                    // int_fmtio.h:48:1:
     98 	PRId32                        = "d"                    // int_fmtio.h:49:1:
     99 	PRId64                        = "ld"                   // int_fmtio.h:50:1:
    100 	PRId8                         = "d"                    // int_fmtio.h:47:1:
    101 	PRIdFAST16                    = "d"                    // int_fmtio.h:56:1:
    102 	PRIdFAST32                    = "d"                    // int_fmtio.h:57:1:
    103 	PRIdFAST64                    = "ld"                   // int_fmtio.h:58:1:
    104 	PRIdFAST8                     = "d"                    // int_fmtio.h:55:1:
    105 	PRIdLEAST16                   = "d"                    // int_fmtio.h:52:1:
    106 	PRIdLEAST32                   = "d"                    // int_fmtio.h:53:1:
    107 	PRIdLEAST64                   = "ld"                   // int_fmtio.h:54:1:
    108 	PRIdLEAST8                    = "d"                    // int_fmtio.h:51:1:
    109 	PRIdMAX                       = "ld"                   // int_fmtio.h:59:1:
    110 	PRIdPTR                       = "ld"                   // int_fmtio.h:60:1:
    111 	PRIi16                        = "i"                    // int_fmtio.h:63:1:
    112 	PRIi32                        = "i"                    // int_fmtio.h:64:1:
    113 	PRIi64                        = "li"                   // int_fmtio.h:65:1:
    114 	PRIi8                         = "i"                    // int_fmtio.h:62:1:
    115 	PRIiFAST16                    = "i"                    // int_fmtio.h:71:1:
    116 	PRIiFAST32                    = "i"                    // int_fmtio.h:72:1:
    117 	PRIiFAST64                    = "li"                   // int_fmtio.h:73:1:
    118 	PRIiFAST8                     = "i"                    // int_fmtio.h:70:1:
    119 	PRIiLEAST16                   = "i"                    // int_fmtio.h:67:1:
    120 	PRIiLEAST32                   = "i"                    // int_fmtio.h:68:1:
    121 	PRIiLEAST64                   = "li"                   // int_fmtio.h:69:1:
    122 	PRIiLEAST8                    = "i"                    // int_fmtio.h:66:1:
    123 	PRIiMAX                       = "li"                   // int_fmtio.h:74:1:
    124 	PRIiPTR                       = "li"                   // int_fmtio.h:75:1:
    125 	PRIo16                        = "o"                    // int_fmtio.h:80:1:
    126 	PRIo32                        = "o"                    // int_fmtio.h:81:1:
    127 	PRIo64                        = "lo"                   // int_fmtio.h:82:1:
    128 	PRIo8                         = "o"                    // int_fmtio.h:79:1:
    129 	PRIoFAST16                    = "o"                    // int_fmtio.h:88:1:
    130 	PRIoFAST32                    = "o"                    // int_fmtio.h:89:1:
    131 	PRIoFAST64                    = "lo"                   // int_fmtio.h:90:1:
    132 	PRIoFAST8                     = "o"                    // int_fmtio.h:87:1:
    133 	PRIoLEAST16                   = "o"                    // int_fmtio.h:84:1:
    134 	PRIoLEAST32                   = "o"                    // int_fmtio.h:85:1:
    135 	PRIoLEAST64                   = "lo"                   // int_fmtio.h:86:1:
    136 	PRIoLEAST8                    = "o"                    // int_fmtio.h:83:1:
    137 	PRIoMAX                       = "lo"                   // int_fmtio.h:91:1:
    138 	PRIoPTR                       = "lo"                   // int_fmtio.h:92:1:
    139 	PRIu16                        = "u"                    // int_fmtio.h:95:1:
    140 	PRIu32                        = "u"                    // int_fmtio.h:96:1:
    141 	PRIu64                        = "lu"                   // int_fmtio.h:97:1:
    142 	PRIu8                         = "u"                    // int_fmtio.h:94:1:
    143 	PRIuFAST16                    = "u"                    // int_fmtio.h:103:1:
    144 	PRIuFAST32                    = "u"                    // int_fmtio.h:104:1:
    145 	PRIuFAST64                    = "lu"                   // int_fmtio.h:105:1:
    146 	PRIuFAST8                     = "u"                    // int_fmtio.h:102:1:
    147 	PRIuLEAST16                   = "u"                    // int_fmtio.h:99:1:
    148 	PRIuLEAST32                   = "u"                    // int_fmtio.h:100:1:
    149 	PRIuLEAST64                   = "lu"                   // int_fmtio.h:101:1:
    150 	PRIuLEAST8                    = "u"                    // int_fmtio.h:98:1:
    151 	PRIuMAX                       = "lu"                   // int_fmtio.h:106:1:
    152 	PRIuPTR                       = "lu"                   // int_fmtio.h:107:1:
    153 	PRIx16                        = "x"                    // int_fmtio.h:110:1:
    154 	PRIx32                        = "x"                    // int_fmtio.h:111:1:
    155 	PRIx64                        = "lx"                   // int_fmtio.h:112:1:
    156 	PRIx8                         = "x"                    // int_fmtio.h:109:1:
    157 	PRIxFAST16                    = "x"                    // int_fmtio.h:118:1:
    158 	PRIxFAST32                    = "x"                    // int_fmtio.h:119:1:
    159 	PRIxFAST64                    = "lx"                   // int_fmtio.h:120:1:
    160 	PRIxFAST8                     = "x"                    // int_fmtio.h:117:1:
    161 	PRIxLEAST16                   = "x"                    // int_fmtio.h:114:1:
    162 	PRIxLEAST32                   = "x"                    // int_fmtio.h:115:1:
    163 	PRIxLEAST64                   = "lx"                   // int_fmtio.h:116:1:
    164 	PRIxLEAST8                    = "x"                    // int_fmtio.h:113:1:
    165 	PRIxMAX                       = "lx"                   // int_fmtio.h:121:1:
    166 	PRIxPTR                       = "lx"                   // int_fmtio.h:122:1:
    167 	PTRDIFF_MAX                   = 9223372036854775807    // common_int_limits.h:121:1:
    168 	PTRDIFF_MIN                   = -9223372036854775808   // common_int_limits.h:120:1:
    169 	SCNd16                        = "hd"                   // int_fmtio.h:142:1:
    170 	SCNd32                        = "d"                    // int_fmtio.h:143:1:
    171 	SCNd64                        = "ld"                   // int_fmtio.h:144:1:
    172 	SCNd8                         = "hhd"                  // int_fmtio.h:141:1:
    173 	SCNdFAST16                    = "d"                    // int_fmtio.h:150:1:
    174 	SCNdFAST32                    = "d"                    // int_fmtio.h:151:1:
    175 	SCNdFAST64                    = "ld"                   // int_fmtio.h:152:1:
    176 	SCNdFAST8                     = "d"                    // int_fmtio.h:149:1:
    177 	SCNdLEAST16                   = "hd"                   // int_fmtio.h:146:1:
    178 	SCNdLEAST32                   = "d"                    // int_fmtio.h:147:1:
    179 	SCNdLEAST64                   = "ld"                   // int_fmtio.h:148:1:
    180 	SCNdLEAST8                    = "hhd"                  // int_fmtio.h:145:1:
    181 	SCNdMAX                       = "ld"                   // int_fmtio.h:153:1:
    182 	SCNdPTR                       = "ld"                   // int_fmtio.h:154:1:
    183 	SCNi16                        = "hi"                   // int_fmtio.h:157:1:
    184 	SCNi32                        = "i"                    // int_fmtio.h:158:1:
    185 	SCNi64                        = "li"                   // int_fmtio.h:159:1:
    186 	SCNi8                         = "hhi"                  // int_fmtio.h:156:1:
    187 	SCNiFAST16                    = "i"                    // int_fmtio.h:165:1:
    188 	SCNiFAST32                    = "i"                    // int_fmtio.h:166:1:
    189 	SCNiFAST64                    = "li"                   // int_fmtio.h:167:1:
    190 	SCNiFAST8                     = "i"                    // int_fmtio.h:164:1:
    191 	SCNiLEAST16                   = "hi"                   // int_fmtio.h:161:1:
    192 	SCNiLEAST32                   = "i"                    // int_fmtio.h:162:1:
    193 	SCNiLEAST64                   = "li"                   // int_fmtio.h:163:1:
    194 	SCNiLEAST8                    = "hhi"                  // int_fmtio.h:160:1:
    195 	SCNiMAX                       = "li"                   // int_fmtio.h:168:1:
    196 	SCNiPTR                       = "li"                   // int_fmtio.h:169:1:
    197 	SCNo16                        = "ho"                   // int_fmtio.h:174:1:
    198 	SCNo32                        = "o"                    // int_fmtio.h:175:1:
    199 	SCNo64                        = "lo"                   // int_fmtio.h:176:1:
    200 	SCNo8                         = "hho"                  // int_fmtio.h:173:1:
    201 	SCNoFAST16                    = "o"                    // int_fmtio.h:182:1:
    202 	SCNoFAST32                    = "o"                    // int_fmtio.h:183:1:
    203 	SCNoFAST64                    = "lo"                   // int_fmtio.h:184:1:
    204 	SCNoFAST8                     = "o"                    // int_fmtio.h:181:1:
    205 	SCNoLEAST16                   = "ho"                   // int_fmtio.h:178:1:
    206 	SCNoLEAST32                   = "o"                    // int_fmtio.h:179:1:
    207 	SCNoLEAST64                   = "lo"                   // int_fmtio.h:180:1:
    208 	SCNoLEAST8                    = "hho"                  // int_fmtio.h:177:1:
    209 	SCNoMAX                       = "lo"                   // int_fmtio.h:185:1:
    210 	SCNoPTR                       = "lo"                   // int_fmtio.h:186:1:
    211 	SCNu16                        = "hu"                   // int_fmtio.h:189:1:
    212 	SCNu32                        = "u"                    // int_fmtio.h:190:1:
    213 	SCNu64                        = "lu"                   // int_fmtio.h:191:1:
    214 	SCNu8                         = "hhu"                  // int_fmtio.h:188:1:
    215 	SCNuFAST16                    = "u"                    // int_fmtio.h:197:1:
    216 	SCNuFAST32                    = "u"                    // int_fmtio.h:198:1:
    217 	SCNuFAST64                    = "lu"                   // int_fmtio.h:199:1:
    218 	SCNuFAST8                     = "u"                    // int_fmtio.h:196:1:
    219 	SCNuLEAST16                   = "hu"                   // int_fmtio.h:193:1:
    220 	SCNuLEAST32                   = "u"                    // int_fmtio.h:194:1:
    221 	SCNuLEAST64                   = "lu"                   // int_fmtio.h:195:1:
    222 	SCNuLEAST8                    = "hhu"                  // int_fmtio.h:192:1:
    223 	SCNuMAX                       = "lu"                   // int_fmtio.h:200:1:
    224 	SCNuPTR                       = "lu"                   // int_fmtio.h:201:1:
    225 	SCNx16                        = "hx"                   // int_fmtio.h:204:1:
    226 	SCNx32                        = "x"                    // int_fmtio.h:205:1:
    227 	SCNx64                        = "lx"                   // int_fmtio.h:206:1:
    228 	SCNx8                         = "hhx"                  // int_fmtio.h:203:1:
    229 	SCNxFAST16                    = "x"                    // int_fmtio.h:212:1:
    230 	SCNxFAST32                    = "x"                    // int_fmtio.h:213:1:
    231 	SCNxFAST64                    = "lx"                   // int_fmtio.h:214:1:
    232 	SCNxFAST8                     = "x"                    // int_fmtio.h:211:1:
    233 	SCNxLEAST16                   = "hx"                   // int_fmtio.h:208:1:
    234 	SCNxLEAST32                   = "x"                    // int_fmtio.h:209:1:
    235 	SCNxLEAST64                   = "lx"                   // int_fmtio.h:210:1:
    236 	SCNxLEAST8                    = "hhx"                  // int_fmtio.h:207:1:
    237 	SCNxMAX                       = "lx"                   // int_fmtio.h:215:1:
    238 	SCNxPTR                       = "lx"                   // int_fmtio.h:216:1:
    239 	SCOPE_DELIMITER               = 37                     // netdb.h:308:1:
    240 	SIG_ATOMIC_MAX                = 2147483647             // common_int_limits.h:125:1:
    241 	SIG_ATOMIC_MIN                = -2147483648            // common_int_limits.h:124:1:
    242 	SIZE_MAX                      = 18446744073709551615   // common_int_limits.h:128:1:
    243 	TRY_AGAIN                     = 2                      // netdb.h:231:1:
    244 	UINT16_MAX                    = 65535                  // common_int_limits.h:59:1:
    245 	UINT32_MAX                    = 4294967295             // common_int_limits.h:60:1:
    246 	UINT64_MAX                    = 18446744073709551615   // common_int_limits.h:61:1:
    247 	UINT8_MAX                     = 255                    // common_int_limits.h:58:1:
    248 	UINTMAX_MAX                   = 18446744073709551615   // common_int_limits.h:112:1:
    249 	UINTPTR_MAX                   = 18446744073709551615   // common_int_limits.h:106:1:
    250 	UINT_FAST16_MAX               = 4294967295             // common_int_limits.h:99:1:
    251 	UINT_FAST32_MAX               = 4294967295             // common_int_limits.h:100:1:
    252 	UINT_FAST64_MAX               = 18446744073709551615   // common_int_limits.h:101:1:
    253 	UINT_FAST8_MAX                = 4294967295             // common_int_limits.h:98:1:
    254 	UINT_LEAST16_MAX              = 65535                  // common_int_limits.h:79:1:
    255 	UINT_LEAST32_MAX              = 4294967295             // common_int_limits.h:80:1:
    256 	UINT_LEAST64_MAX              = 18446744073709551615   // common_int_limits.h:81:1:
    257 	UINT_LEAST8_MAX               = 255                    // common_int_limits.h:78:1:
    258 	WCHAR_MAX                     = 0x7fffffff             // wchar_limits.h:41:1:
    259 	WCHAR_MIN                     = -2147483648            // wchar_limits.h:40:1:
    260 	WINT_MAX                      = 0x7fffffff             // wchar_limits.h:45:1:
    261 	WINT_MIN                      = -2147483648            // wchar_limits.h:44:1:
    262 	X_AMD64_INT_CONST_H_          = 0                      // int_const.h:33:1:
    263 	X_AMD64_INT_FMTIO_H_          = 0                      // int_fmtio.h:33:1:
    264 	X_AMD64_INT_LIMITS_H_         = 0                      // int_limits.h:33:1:
    265 	X_AMD64_INT_MWGWTYPES_H_      = 0                      // int_mwgwtypes.h:33:1:
    266 	X_AMD64_INT_TYPES_H_          = 0                      // int_types.h:35:1:
    267 	X_AMD64_WCHAR_LIMITS_H_       = 0                      // wchar_limits.h:33:1:
    268 	X_BSD_INT16_T_                = 0                      // stdint.h:50:1:
    269 	X_BSD_INT32_T_                = 0                      // stdint.h:60:1:
    270 	X_BSD_INT64_T_                = 0                      // stdint.h:70:1:
    271 	X_BSD_INT8_T_                 = 0                      // stdint.h:40:1:
    272 	X_BSD_INTPTR_T_               = 0                      // stdint.h:80:1:
    273 	X_BSD_UINT16_T_               = 0                      // stdint.h:55:1:
    274 	X_BSD_UINT32_T_               = 0                      // stdint.h:65:1:
    275 	X_BSD_UINT64_T_               = 0                      // stdint.h:75:1:
    276 	X_BSD_UINT8_T_                = 0                      // stdint.h:45:1:
    277 	X_BSD_UINTPTR_T_              = 0                      // stdint.h:85:1:
    278 	X_FILE_OFFSET_BITS            = 64                     // <builtin>:25:1:
    279 	X_INTTYPES_H_                 = 0                      // inttypes.h:33:1:
    280 	X_LP64                        = 1                      // <predefined>:268:1:
    281 	X_NETBSD_SOURCE               = 1                      // featuretest.h:70:1:
    282 	X_NETDB_H_                    = 0                      // netdb.h:91:1:
    283 	X_PATH_HEQUIV                 = "/etc/hosts.equiv"     // netdb.h:113:1:
    284 	X_PATH_HOSTS                  = "/etc/hosts"           // netdb.h:116:1:
    285 	X_PATH_NETWORKS               = "/etc/networks"        // netdb.h:119:1:
    286 	X_PATH_PROTOCOLS              = "/etc/protocols"       // netdb.h:122:1:
    287 	X_PATH_SERVICES               = "/etc/services"        // netdb.h:125:1:
    288 	X_PATH_SERVICES_CDB           = "/var/db/services.cdb" // netdb.h:128:1:
    289 	X_PATH_SERVICES_DB            = "/var/db/services.db"  // netdb.h:131:1:
    290 	X_SYS_ANSI_H_                 = 0                      // ansi.h:33:1:
    291 	X_SYS_CDEFS_ELF_H_            = 0                      // cdefs_elf.h:31:1:
    292 	X_SYS_CDEFS_H_                = 0                      // cdefs.h:37:1:
    293 	X_SYS_COMMON_ANSI_H_          = 0                      // common_ansi.h:33:1:
    294 	X_SYS_COMMON_INT_LIMITS_H_    = 0                      // common_int_limits.h:33:1:
    295 	X_SYS_COMMON_INT_MWGWTYPES_H_ = 0                      // common_int_mwgwtypes.h:33:1:
    296 	X_SYS_COMMON_INT_TYPES_H_     = 0                      // common_int_types.h:33:1:
    297 	X_SYS_INTTYPES_H_             = 0                      // inttypes.h:33:1:
    298 	X_SYS_STDINT_H_               = 0                      // stdint.h:33:1:
    299 	X_X86_64_CDEFS_H_             = 0                      // cdefs.h:4:1:
    300 )
    301 
    302 type Ptrdiff_t = int64 /* <builtin>:3:26 */
    303 
    304 type Size_t = uint64 /* <builtin>:9:23 */
    305 
    306 type Wchar_t = int32 /* <builtin>:15:24 */
    307 
    308 type X__int128_t = struct {
    309 	Flo int64
    310 	Fhi int64
    311 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
    312 type X__uint128_t = struct {
    313 	Flo uint64
    314 	Fhi uint64
    315 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
    316 
    317 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
    318 type X__float128 = float64        /* <builtin>:47:21 */
    319 
    320 // return true if value 'a' fits in type 't'
    321 
    322 //	$NetBSD: endian_machdep.h,v 1.4 2006/01/30 21:52:38 dsl Exp $
    323 
    324 //	$NetBSD: ansi.h,v 1.14 2011/07/17 20:54:54 joerg Exp $
    325 
    326 // -
    327 // Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
    328 // All rights reserved.
    329 //
    330 // This code is derived from software contributed to The NetBSD Foundation
    331 // by Jun-ichiro itojun Hagino and by Klaus Klein.
    332 //
    333 // Redistribution and use in source and binary forms, with or without
    334 // modification, are permitted provided that the following conditions
    335 // are met:
    336 // 1. Redistributions of source code must retain the above copyright
    337 //    notice, this list of conditions and the following disclaimer.
    338 // 2. Redistributions in binary form must reproduce the above copyright
    339 //    notice, this list of conditions and the following disclaimer in the
    340 //    documentation and/or other materials provided with the distribution.
    341 //
    342 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    343 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    344 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    345 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    346 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    347 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    348 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    349 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    350 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    351 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    352 // POSSIBILITY OF SUCH DAMAGE.
    353 
    354 //	$NetBSD: ansi.h,v 1.11 2019/05/07 03:49:26 kamil Exp $
    355 
    356 //	$NetBSD: common_ansi.h,v 1.1 2014/08/19 07:27:31 matt Exp $
    357 
    358 // -
    359 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    360 // All rights reserved.
    361 //
    362 // This code is derived from software contributed to The NetBSD Foundation
    363 // by Matt Thomas of 3am Software Foundry.
    364 //
    365 // Redistribution and use in source and binary forms, with or without
    366 // modification, are permitted provided that the following conditions
    367 // are met:
    368 // 1. Redistributions of source code must retain the above copyright
    369 //    notice, this list of conditions and the following disclaimer.
    370 // 2. Redistributions in binary form must reproduce the above copyright
    371 //    notice, this list of conditions and the following disclaimer in the
    372 //    documentation and/or other materials provided with the distribution.
    373 //
    374 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    375 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    376 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    377 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    378 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    379 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    380 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    381 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    382 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    383 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    384 // POSSIBILITY OF SUCH DAMAGE.
    385 
    386 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
    387 
    388 // * Copyright (c) 1991, 1993
    389 //	The Regents of the University of California.  All rights reserved.
    390 //
    391 // This code is derived from software contributed to Berkeley by
    392 // Berkeley Software Design, Inc.
    393 //
    394 // Redistribution and use in source and binary forms, with or without
    395 // modification, are permitted provided that the following conditions
    396 // are met:
    397 // 1. Redistributions of source code must retain the above copyright
    398 //    notice, this list of conditions and the following disclaimer.
    399 // 2. Redistributions in binary form must reproduce the above copyright
    400 //    notice, this list of conditions and the following disclaimer in the
    401 //    documentation and/or other materials provided with the distribution.
    402 // 3. Neither the name of the University nor the names of its contributors
    403 //    may be used to endorse or promote products derived from this software
    404 //    without specific prior written permission.
    405 //
    406 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    407 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    408 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    409 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    410 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    411 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    412 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    413 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    414 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    415 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    416 // SUCH DAMAGE.
    417 //
    418 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    419 
    420 //	$NetBSD: int_types.h,v 1.7 2014/07/25 21:43:13 joerg Exp $
    421 
    422 // -
    423 // Copyright (c) 1990 The Regents of the University of California.
    424 // All rights reserved.
    425 //
    426 // Redistribution and use in source and binary forms, with or without
    427 // modification, are permitted provided that the following conditions
    428 // are met:
    429 // 1. Redistributions of source code must retain the above copyright
    430 //    notice, this list of conditions and the following disclaimer.
    431 // 2. Redistributions in binary form must reproduce the above copyright
    432 //    notice, this list of conditions and the following disclaimer in the
    433 //    documentation and/or other materials provided with the distribution.
    434 // 3. Neither the name of the University nor the names of its contributors
    435 //    may be used to endorse or promote products derived from this software
    436 //    without specific prior written permission.
    437 //
    438 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    439 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    440 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    441 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    442 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    443 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    444 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    445 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    446 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    447 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    448 // SUCH DAMAGE.
    449 //
    450 //	from: @(#)types.h	7.5 (Berkeley) 3/9/91
    451 
    452 //	$NetBSD: common_int_types.h,v 1.1 2014/07/25 21:43:13 joerg Exp $
    453 
    454 // -
    455 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    456 // All rights reserved.
    457 //
    458 // This code is derived from software contributed to The NetBSD Foundation
    459 // by Joerg Sonnenberger.
    460 //
    461 // Redistribution and use in source and binary forms, with or without
    462 // modification, are permitted provided that the following conditions
    463 // are met:
    464 // 1. Redistributions of source code must retain the above copyright
    465 //    notice, this list of conditions and the following disclaimer.
    466 // 2. Redistributions in binary form must reproduce the above copyright
    467 //    notice, this list of conditions and the following disclaimer in the
    468 //    documentation and/or other materials provided with the distribution.
    469 //
    470 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    471 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    472 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    473 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    474 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    475 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    476 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    477 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    478 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    479 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    480 // POSSIBILITY OF SUCH DAMAGE.
    481 
    482 // 7.18.1 Integer types
    483 
    484 // 7.18.1.1 Exact-width integer types
    485 
    486 type X__int8_t = int8     /* common_int_types.h:45:27 */
    487 type X__uint8_t = uint8   /* common_int_types.h:46:27 */
    488 type X__int16_t = int16   /* common_int_types.h:47:27 */
    489 type X__uint16_t = uint16 /* common_int_types.h:48:27 */
    490 type X__int32_t = int32   /* common_int_types.h:49:27 */
    491 type X__uint32_t = uint32 /* common_int_types.h:50:27 */
    492 type X__int64_t = int64   /* common_int_types.h:51:27 */
    493 type X__uint64_t = uint64 /* common_int_types.h:52:27 */
    494 
    495 // 7.18.1.4 Integer types capable of holding object pointers
    496 
    497 type X__intptr_t = int64   /* common_int_types.h:58:27 */
    498 type X__uintptr_t = uint64 /* common_int_types.h:59:26 */
    499 
    500 // Types which are fundamental to the implementation and may appear in
    501 // more than one standard header are defined here.  Standard headers
    502 // then use:
    503 //	#ifdef	_BSD_SIZE_T_
    504 //	typedef	_BSD_SIZE_T_ size_t;
    505 //	#undef	_BSD_SIZE_T_
    506 //	#endif
    507 
    508 type X__caddr_t = uintptr        /* ansi.h:37:14 */ // core address
    509 type X__gid_t = X__uint32_t      /* ansi.h:38:20 */ // group id
    510 type X__in_addr_t = X__uint32_t  /* ansi.h:39:20 */ // IP(v4) address
    511 type X__in_port_t = X__uint16_t  /* ansi.h:40:20 */ // "Internet" port number
    512 type X__mode_t = X__uint32_t     /* ansi.h:41:20 */ // file permissions
    513 type X__off_t = X__int64_t       /* ansi.h:42:19 */ // file offset
    514 type X__pid_t = X__int32_t       /* ansi.h:43:19 */ // process id
    515 type X__sa_family_t = X__uint8_t /* ansi.h:44:19 */ // socket address family
    516 type X__socklen_t = uint32       /* ansi.h:45:22 */ // socket-related datum length
    517 type X__uid_t = X__uint32_t      /* ansi.h:46:20 */ // user id
    518 type X__fsblkcnt_t = X__uint64_t /* ansi.h:47:20 */ // fs block count (statvfs)
    519 type X__fsfilcnt_t = X__uint64_t /* ansi.h:48:20 */
    520 type X__wctrans_t = uintptr      /* ansi.h:51:32 */
    521 type X__wctype_t = uintptr       /* ansi.h:54:31 */
    522 
    523 // mbstate_t is an opaque object to keep conversion state, during multibyte
    524 // stream conversions.  The content must not be referenced by user programs.
    525 type X__mbstate_t = struct {
    526 	F__mbstateL  X__int64_t
    527 	F__ccgo_pad1 [120]byte
    528 } /* ansi.h:63:3 */
    529 
    530 type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
    531 
    532 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
    533 
    534 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
    535 // Public domain.
    536 //
    537 // NOTE: Do not protect this header against multiple inclusion.  Doing
    538 // so can have subtle side-effects due to header file inclusion order
    539 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
    540 // protect each CPP macro that we want to supply.
    541 
    542 // Feature-test macros are defined by several standards, and allow an
    543 // application to specify what symbols they want the system headers to
    544 // expose, and hence what standard they want them to conform to.
    545 // There are two classes of feature-test macros.  The first class
    546 // specify complete standards, and if one of these is defined, header
    547 // files will try to conform to the relevant standard.  They are:
    548 //
    549 // ANSI macros:
    550 // _ANSI_SOURCE			ANSI C89
    551 //
    552 // POSIX macros:
    553 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
    554 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
    555 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
    556 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
    557 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
    558 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
    559 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
    560 //
    561 // X/Open macros:
    562 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
    563 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
    564 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
    565 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
    566 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
    567 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
    568 //
    569 // NetBSD macros:
    570 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
    571 //
    572 // If more than one of these "major" feature-test macros is defined,
    573 // then the set of facilities provided (and namespace used) is the
    574 // union of that specified by the relevant standards, and in case of
    575 // conflict, the earlier standard in the above list has precedence (so
    576 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
    577 // of rename() that's used is the POSIX one).  If none of the "major"
    578 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
    579 //
    580 // There are also "minor" feature-test macros, which enable extra
    581 // functionality in addition to some base standard.  They should be
    582 // defined along with one of the "major" macros.  The "minor" macros
    583 // are:
    584 //
    585 // _REENTRANT
    586 // _ISOC99_SOURCE
    587 // _ISOC11_SOURCE
    588 // _LARGEFILE_SOURCE		Large File Support
    589 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
    590 
    591 //	$NetBSD: inttypes.h,v 1.11 2015/01/16 18:35:59 christos Exp $
    592 
    593 // -
    594 // Copyright (c) 2001 The NetBSD Foundation, Inc.
    595 // All rights reserved.
    596 //
    597 // This code is derived from software contributed to The NetBSD Foundation
    598 // by Klaus Klein.
    599 //
    600 // Redistribution and use in source and binary forms, with or without
    601 // modification, are permitted provided that the following conditions
    602 // are met:
    603 // 1. Redistributions of source code must retain the above copyright
    604 //    notice, this list of conditions and the following disclaimer.
    605 // 2. Redistributions in binary form must reproduce the above copyright
    606 //    notice, this list of conditions and the following disclaimer in the
    607 //    documentation and/or other materials provided with the distribution.
    608 //
    609 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    610 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    611 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    612 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    613 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    614 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    615 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    616 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    617 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    618 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    619 // POSSIBILITY OF SUCH DAMAGE.
    620 
    621 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
    622 
    623 // * Copyright (c) 1991, 1993
    624 //	The Regents of the University of California.  All rights reserved.
    625 //
    626 // This code is derived from software contributed to Berkeley by
    627 // Berkeley Software Design, Inc.
    628 //
    629 // Redistribution and use in source and binary forms, with or without
    630 // modification, are permitted provided that the following conditions
    631 // are met:
    632 // 1. Redistributions of source code must retain the above copyright
    633 //    notice, this list of conditions and the following disclaimer.
    634 // 2. Redistributions in binary form must reproduce the above copyright
    635 //    notice, this list of conditions and the following disclaimer in the
    636 //    documentation and/or other materials provided with the distribution.
    637 // 3. Neither the name of the University nor the names of its contributors
    638 //    may be used to endorse or promote products derived from this software
    639 //    without specific prior written permission.
    640 //
    641 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    642 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    643 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    644 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    645 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    646 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    647 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    648 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    649 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    650 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    651 // SUCH DAMAGE.
    652 //
    653 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    654 
    655 //	$NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
    656 
    657 // Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
    658 // Public domain.
    659 //
    660 // NOTE: Do not protect this header against multiple inclusion.  Doing
    661 // so can have subtle side-effects due to header file inclusion order
    662 // and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE.  Instead,
    663 // protect each CPP macro that we want to supply.
    664 
    665 // Feature-test macros are defined by several standards, and allow an
    666 // application to specify what symbols they want the system headers to
    667 // expose, and hence what standard they want them to conform to.
    668 // There are two classes of feature-test macros.  The first class
    669 // specify complete standards, and if one of these is defined, header
    670 // files will try to conform to the relevant standard.  They are:
    671 //
    672 // ANSI macros:
    673 // _ANSI_SOURCE			ANSI C89
    674 //
    675 // POSIX macros:
    676 // _POSIX_SOURCE == 1		IEEE Std 1003.1 (version?)
    677 // _POSIX_C_SOURCE == 1		IEEE Std 1003.1-1990
    678 // _POSIX_C_SOURCE == 2		IEEE Std 1003.2-1992
    679 // _POSIX_C_SOURCE == 199309L	IEEE Std 1003.1b-1993
    680 // _POSIX_C_SOURCE == 199506L	ISO/IEC 9945-1:1996
    681 // _POSIX_C_SOURCE == 200112L	IEEE Std 1003.1-2001
    682 // _POSIX_C_SOURCE == 200809L   IEEE Std 1003.1-2008
    683 //
    684 // X/Open macros:
    685 // _XOPEN_SOURCE		System Interfaces and Headers, Issue 4, Ver 2
    686 // _XOPEN_SOURCE_EXTENDED == 1	XSH4.2 UNIX extensions
    687 // _XOPEN_SOURCE == 500		System Interfaces and Headers, Issue 5
    688 // _XOPEN_SOURCE == 520		Networking Services (XNS), Issue 5.2
    689 // _XOPEN_SOURCE == 600		IEEE Std 1003.1-2001, XSI option
    690 // _XOPEN_SOURCE == 700		IEEE Std 1003.1-2008, XSI option
    691 //
    692 // NetBSD macros:
    693 // _NETBSD_SOURCE == 1		Make all NetBSD features available.
    694 //
    695 // If more than one of these "major" feature-test macros is defined,
    696 // then the set of facilities provided (and namespace used) is the
    697 // union of that specified by the relevant standards, and in case of
    698 // conflict, the earlier standard in the above list has precedence (so
    699 // if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
    700 // of rename() that's used is the POSIX one).  If none of the "major"
    701 // feature-test macros is defined, _NETBSD_SOURCE is assumed.
    702 //
    703 // There are also "minor" feature-test macros, which enable extra
    704 // functionality in addition to some base standard.  They should be
    705 // defined along with one of the "major" macros.  The "minor" macros
    706 // are:
    707 //
    708 // _REENTRANT
    709 // _ISOC99_SOURCE
    710 // _ISOC11_SOURCE
    711 // _LARGEFILE_SOURCE		Large File Support
    712 //		<http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
    713 
    714 //	$NetBSD: inttypes.h,v 1.6 2013/04/22 21:26:48 joerg Exp $
    715 
    716 // -
    717 // Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
    718 // All rights reserved.
    719 //
    720 // This code is derived from software contributed to The NetBSD Foundation
    721 // by Klaus J. Klein.
    722 //
    723 // Redistribution and use in source and binary forms, with or without
    724 // modification, are permitted provided that the following conditions
    725 // are met:
    726 // 1. Redistributions of source code must retain the above copyright
    727 //    notice, this list of conditions and the following disclaimer.
    728 // 2. Redistributions in binary form must reproduce the above copyright
    729 //    notice, this list of conditions and the following disclaimer in the
    730 //    documentation and/or other materials provided with the distribution.
    731 //
    732 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    733 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    734 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    735 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    736 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    737 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    738 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    739 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    740 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    741 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    742 // POSSIBILITY OF SUCH DAMAGE.
    743 
    744 // 7.8  Format conversion of integer types
    745 
    746 //	$NetBSD: stdint.h,v 1.8 2018/11/06 16:26:44 maya Exp $
    747 
    748 // -
    749 // Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
    750 // All rights reserved.
    751 //
    752 // This code is derived from software contributed to The NetBSD Foundation
    753 // by Klaus Klein.
    754 //
    755 // Redistribution and use in source and binary forms, with or without
    756 // modification, are permitted provided that the following conditions
    757 // are met:
    758 // 1. Redistributions of source code must retain the above copyright
    759 //    notice, this list of conditions and the following disclaimer.
    760 // 2. Redistributions in binary form must reproduce the above copyright
    761 //    notice, this list of conditions and the following disclaimer in the
    762 //    documentation and/or other materials provided with the distribution.
    763 //
    764 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    765 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    766 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    767 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    768 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    769 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    770 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    771 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    772 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    773 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    774 // POSSIBILITY OF SUCH DAMAGE.
    775 
    776 //	$NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $
    777 
    778 // * Copyright (c) 1991, 1993
    779 //	The Regents of the University of California.  All rights reserved.
    780 //
    781 // This code is derived from software contributed to Berkeley by
    782 // Berkeley Software Design, Inc.
    783 //
    784 // Redistribution and use in source and binary forms, with or without
    785 // modification, are permitted provided that the following conditions
    786 // are met:
    787 // 1. Redistributions of source code must retain the above copyright
    788 //    notice, this list of conditions and the following disclaimer.
    789 // 2. Redistributions in binary form must reproduce the above copyright
    790 //    notice, this list of conditions and the following disclaimer in the
    791 //    documentation and/or other materials provided with the distribution.
    792 // 3. Neither the name of the University nor the names of its contributors
    793 //    may be used to endorse or promote products derived from this software
    794 //    without specific prior written permission.
    795 //
    796 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    797 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    798 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    799 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    800 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    801 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    802 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    803 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    804 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    805 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    806 // SUCH DAMAGE.
    807 //
    808 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    809 
    810 //	$NetBSD: int_types.h,v 1.7 2014/07/25 21:43:13 joerg Exp $
    811 
    812 // -
    813 // Copyright (c) 1990 The Regents of the University of California.
    814 // All rights reserved.
    815 //
    816 // Redistribution and use in source and binary forms, with or without
    817 // modification, are permitted provided that the following conditions
    818 // are met:
    819 // 1. Redistributions of source code must retain the above copyright
    820 //    notice, this list of conditions and the following disclaimer.
    821 // 2. Redistributions in binary form must reproduce the above copyright
    822 //    notice, this list of conditions and the following disclaimer in the
    823 //    documentation and/or other materials provided with the distribution.
    824 // 3. Neither the name of the University nor the names of its contributors
    825 //    may be used to endorse or promote products derived from this software
    826 //    without specific prior written permission.
    827 //
    828 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    829 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    830 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    831 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    832 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    833 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    834 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    835 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    836 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    837 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    838 // SUCH DAMAGE.
    839 //
    840 //	from: @(#)types.h	7.5 (Berkeley) 3/9/91
    841 
    842 type Int8_t = X__int8_t /* stdint.h:39:18 */
    843 
    844 type Uint8_t = X__uint8_t /* stdint.h:44:19 */
    845 
    846 type Int16_t = X__int16_t /* stdint.h:49:19 */
    847 
    848 type Uint16_t = X__uint16_t /* stdint.h:54:20 */
    849 
    850 type Int32_t = X__int32_t /* stdint.h:59:19 */
    851 
    852 type Uint32_t = X__uint32_t /* stdint.h:64:20 */
    853 
    854 type Int64_t = X__int64_t /* stdint.h:69:19 */
    855 
    856 type Uint64_t = X__uint64_t /* stdint.h:74:20 */
    857 
    858 type Intptr_t = X__intptr_t /* stdint.h:79:20 */
    859 
    860 type Uintptr_t = X__uintptr_t /* stdint.h:84:21 */
    861 
    862 //	$NetBSD: int_mwgwtypes.h,v 1.8 2014/07/25 21:43:13 joerg Exp $
    863 
    864 // -
    865 // Copyright (c) 2001 The NetBSD Foundation, Inc.
    866 // All rights reserved.
    867 //
    868 // This code is derived from software contributed to The NetBSD Foundation
    869 // by Klaus Klein.
    870 //
    871 // Redistribution and use in source and binary forms, with or without
    872 // modification, are permitted provided that the following conditions
    873 // are met:
    874 // 1. Redistributions of source code must retain the above copyright
    875 //    notice, this list of conditions and the following disclaimer.
    876 // 2. Redistributions in binary form must reproduce the above copyright
    877 //    notice, this list of conditions and the following disclaimer in the
    878 //    documentation and/or other materials provided with the distribution.
    879 //
    880 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    881 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    882 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    883 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    884 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    885 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    886 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    887 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    888 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    889 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    890 // POSSIBILITY OF SUCH DAMAGE.
    891 
    892 //	$NetBSD: common_int_mwgwtypes.h,v 1.1 2014/07/25 21:43:13 joerg Exp $
    893 
    894 // -
    895 // Copyright (c) 2014 The NetBSD Foundation, Inc.
    896 // All rights reserved.
    897 //
    898 // This code is derived from software contributed to The NetBSD Foundation
    899 // by Joerg Sonnenberger.
    900 //
    901 // Redistribution and use in source and binary forms, with or without
    902 // modification, are permitted provided that the following conditions
    903 // are met:
    904 // 1. Redistributions of source code must retain the above copyright
    905 //    notice, this list of conditions and the following disclaimer.
    906 // 2. Redistributions in binary form must reproduce the above copyright
    907 //    notice, this list of conditions and the following disclaimer in the
    908 //    documentation and/or other materials provided with the distribution.
    909 //
    910 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
    911 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    912 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    913 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
    914 // BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    915 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    916 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    917 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    918 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    919 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    920 // POSSIBILITY OF SUCH DAMAGE.
    921 
    922 // 7.18.1 Integer types
    923 
    924 // 7.18.1.2 Minimum-width integer types
    925 
    926 type Int_least8_t = int8     /* common_int_mwgwtypes.h:45:32 */
    927 type Uint_least8_t = uint8   /* common_int_mwgwtypes.h:46:32 */
    928 type Int_least16_t = int16   /* common_int_mwgwtypes.h:47:32 */
    929 type Uint_least16_t = uint16 /* common_int_mwgwtypes.h:48:32 */
    930 type Int_least32_t = int32   /* common_int_mwgwtypes.h:49:32 */
    931 type Uint_least32_t = uint32 /* common_int_mwgwtypes.h:50:32 */
    932 type Int_least64_t = int64   /* common_int_mwgwtypes.h:51:32 */
    933 type Uint_least64_t = uint64 /* common_int_mwgwtypes.h:52:32 */
    934 
    935 // 7.18.1.3 Fastest minimum-width integer types
    936 type Int_fast8_t = int32    /* common_int_mwgwtypes.h:55:32 */
    937 type Uint_fast8_t = uint32  /* common_int_mwgwtypes.h:56:32 */
    938 type Int_fast16_t = int32   /* common_int_mwgwtypes.h:57:32 */
    939 type Uint_fast16_t = uint32 /* common_int_mwgwtypes.h:58:32 */
    940 type Int_fast32_t = int32   /* common_int_mwgwtypes.h:59:32 */
    941 type Uint_fast32_t = uint32 /* common_int_mwgwtypes.h:60:32 */
    942 type Int_fast64_t = int64   /* common_int_mwgwtypes.h:61:32 */
    943 type Uint_fast64_t = uint64 /* common_int_mwgwtypes.h:62:32 */
    944 
    945 // 7.18.1.5 Greatest-width integer types
    946 
    947 type Intmax_t = int64   /* common_int_mwgwtypes.h:66:33 */
    948 type Uintmax_t = uint64 /* common_int_mwgwtypes.h:67:32 */
    949 
    950 type Imaxdiv_t = struct {
    951 	Fquot Intmax_t
    952 	Frem  Intmax_t
    953 } /* inttypes.h:60:3 */
    954 
    955 type Locale_t = uintptr /* inttypes.h:66:25 */
    956 
    957 // Data types
    958 type Socklen_t = X__socklen_t /* netdb.h:102:21 */
    959 
    960 // %
    961 // Structures returned by network data base library.  All addresses are
    962 // supplied in host order, and returned in network order (suitable for
    963 // use in system calls).
    964 type Hostent = struct {
    965 	Fh_name      uintptr
    966 	Fh_aliases   uintptr
    967 	Fh_addrtype  int32
    968 	Fh_length    int32
    969 	Fh_addr_list uintptr
    970 } /* netdb.h:148:1 */
    971 
    972 // %
    973 // Assumption here is that a network number
    974 // fits in an unsigned long -- probably a poor one.
    975 type Netent = struct {
    976 	Fn_name     uintptr
    977 	Fn_aliases  uintptr
    978 	Fn_addrtype int32
    979 	Fn_net      Uint32_t
    980 } /* netdb.h:161:1 */
    981 
    982 type Servent = struct {
    983 	Fs_name      uintptr
    984 	Fs_aliases   uintptr
    985 	Fs_port      int32
    986 	F__ccgo_pad1 [4]byte
    987 	Fs_proto     uintptr
    988 } /* netdb.h:176:1 */
    989 
    990 type Protoent = struct {
    991 	Fp_name      uintptr
    992 	Fp_aliases   uintptr
    993 	Fp_proto     int32
    994 	F__ccgo_pad1 [4]byte
    995 } /* netdb.h:183:1 */
    996 
    997 // Note: ai_addrlen used to be a size_t, per RFC 2553.
    998 // In XNS5.2, and subsequently in POSIX-2001 and
    999 // draft-ietf-ipngwg-rfc2553bis-02.txt it was changed to a socklen_t.
   1000 // To accommodate for this while preserving binary compatibility with the
   1001 // old interface, we prepend or append 32 bits of padding, depending on
   1002 // the (LP64) architecture's endianness.
   1003 //
   1004 // This should be deleted the next time the libc major number is
   1005 // incremented.
   1006 type Addrinfo = struct {
   1007 	Fai_flags     int32
   1008 	Fai_family    int32
   1009 	Fai_socktype  int32
   1010 	Fai_protocol  int32
   1011 	Fai_addrlen   X__socklen_t
   1012 	F__ccgo_pad1  [4]byte
   1013 	Fai_canonname uintptr
   1014 	Fai_addr      uintptr
   1015 	Fai_next      uintptr
   1016 } /* netdb.h:202:1 */
   1017 
   1018 var _ int8 /* gen.c:2:13: */