pthread_freebsd_386.go (95800B)
1 // Code generated by 'ccgo pthread/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 pthread/pthread_freebsd_386.go -pkgname pthread', DO NOT EDIT. 2 3 package pthread 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:70:1: 19 BYTE_ORDER = 1234 // _endian.h:72:1: 20 CLK_TCK = 128 // time.h:56:1: 21 CLOCKS_PER_SEC = 128 // time.h:60:1: 22 CLOCK_BOOTTIME = 5 // _clock_id.h:92:1: 23 CLOCK_MONOTONIC = 4 // _clock_id.h:67:1: 24 CLOCK_MONOTONIC_COARSE = 12 // _clock_id.h:94:1: 25 CLOCK_MONOTONIC_FAST = 12 // _clock_id.h:79:1: 26 CLOCK_MONOTONIC_PRECISE = 11 // _clock_id.h:78:1: 27 CLOCK_PROCESS_CPUTIME_ID = 15 // _clock_id.h:85:1: 28 CLOCK_PROF = 2 // _clock_id.h:64:1: 29 CLOCK_REALTIME = 0 // _clock_id.h:60:1: 30 CLOCK_REALTIME_COARSE = 10 // _clock_id.h:93:1: 31 CLOCK_REALTIME_FAST = 10 // _clock_id.h:77:1: 32 CLOCK_REALTIME_PRECISE = 9 // _clock_id.h:76:1: 33 CLOCK_SECOND = 13 // _clock_id.h:80:1: 34 CLOCK_THREAD_CPUTIME_ID = 14 // _clock_id.h:84:1: 35 CLOCK_UPTIME = 5 // _clock_id.h:74:1: 36 CLOCK_UPTIME_FAST = 8 // _clock_id.h:68:1: 37 CLOCK_UPTIME_PRECISE = 7 // _clock_id.h:75:1: 38 CLOCK_VIRTUAL = 1 // _clock_id.h:63:1: 39 CPUSET_DEFAULT = 0 // cpuset.h:119:1: 40 CPUSET_INVALID = -1 // cpuset.h:118:1: 41 CPU_LEVEL_CPUSET = 2 // cpuset.h:100:1: 42 CPU_LEVEL_ROOT = 1 // cpuset.h:99:1: 43 CPU_LEVEL_WHICH = 3 // cpuset.h:101:1: 44 CPU_MAXSIZE = 256 // _cpuset.h:43:1: 45 CPU_SETSIZE = 256 // _cpuset.h:46:1: 46 CPU_WHICH_CPUSET = 3 // cpuset.h:108:1: 47 CPU_WHICH_DOMAIN = 6 // cpuset.h:111:1: 48 CPU_WHICH_INTRHANDLER = 7 // cpuset.h:112:1: 49 CPU_WHICH_IRQ = 4 // cpuset.h:109:1: 50 CPU_WHICH_ITHREAD = 8 // cpuset.h:113:1: 51 CPU_WHICH_JAIL = 5 // cpuset.h:110:1: 52 CPU_WHICH_PID = 2 // cpuset.h:107:1: 53 CPU_WHICH_TID = 1 // cpuset.h:106:1: 54 FD_SETSIZE = 1024 // select.h:61:1: 55 LITTLE_ENDIAN = 1234 // _endian.h:69:1: 56 PDP_ENDIAN = 3412 // _endian.h:71:1: 57 PTHREAD_BARRIER_SERIAL_THREAD = -1 // pthread.h:58:1: 58 PTHREAD_CANCEL_ASYNCHRONOUS = 2 // pthread.h:85:1: 59 PTHREAD_CANCEL_DEFERRED = 0 // pthread.h:84:1: 60 PTHREAD_CANCEL_DISABLE = 1 // pthread.h:83:1: 61 PTHREAD_CANCEL_ENABLE = 0 // pthread.h:82:1: 62 PTHREAD_CREATE_DETACHED = 1 // pthread.h:68:1: 63 PTHREAD_CREATE_JOINABLE = 0 // pthread.h:69:1: 64 PTHREAD_DESTRUCTOR_ITERATIONS = 4 // pthread.h:54:1: 65 PTHREAD_DETACHED = 0x1 // pthread.h:63:1: 66 PTHREAD_DONE_INIT = 1 // pthread.h:92:1: 67 PTHREAD_EXPLICIT_SCHED = 0 // pthread.h:71:1: 68 PTHREAD_INHERIT_SCHED = 0x4 // pthread.h:65:1: 69 PTHREAD_KEYS_MAX = 256 // pthread.h:55:1: 70 PTHREAD_MUTEX_ROBUST = 1 // pthread.h:141:1: 71 PTHREAD_MUTEX_STALLED = 0 // pthread.h:140:1: 72 PTHREAD_NEEDS_INIT = 0 // pthread.h:91:1: 73 PTHREAD_NOFLOAT = 0x8 // pthread.h:66:1: 74 PTHREAD_PRIO_INHERIT = 1 // pthread.h:117:1: 75 PTHREAD_PRIO_NONE = 0 // pthread.h:116:1: 76 PTHREAD_PRIO_PROTECT = 2 // pthread.h:118:1: 77 PTHREAD_PROCESS_PRIVATE = 0 // pthread.h:76:1: 78 PTHREAD_PROCESS_SHARED = 1 // pthread.h:77:1: 79 PTHREAD_SCOPE_PROCESS = 0 // pthread.h:70:1: 80 PTHREAD_SCOPE_SYSTEM = 0x2 // pthread.h:64:1: 81 PTHREAD_STACK_MIN = 2048 // pthread.h:56:1: 82 PTHREAD_THREADS_MAX = 4294967295 // pthread.h:57:1: 83 SCHED_FIFO = 1 // sched.h:241:1: 84 SCHED_OTHER = 2 // sched.h:242:1: 85 SCHED_RR = 3 // sched.h:243:1: 86 TIMER_ABSTIME = 0x1 // _clock_id.h:101:1: 87 TIMER_RELTIME = 0x0 // _clock_id.h:98:1: 88 TIME_UTC = 1 // time.h:188:1: 89 X_ACCMODE_T_DECLARED = 0 // types.h:166:1: 90 X_BIG_ENDIAN = 4321 // _endian.h:47:1: 91 X_BLKCNT_T_DECLARED = 0 // types.h:90:1: 92 X_BLKSIZE_T_DECLARED = 0 // types.h:81:1: 93 X_BYTE_ORDER = 1234 // _endian.h:40:1: 94 X_CAP_IOCTL_T_DECLARED = 0 // types.h:243:1: 95 X_CAP_RIGHTS_T_DECLARED = 0 // types.h:248:1: 96 X_CLOCKID_T_DECLARED = 0 // types.h:100:1: 97 X_CLOCK_T_DECLARED = 0 // types.h:95:1: 98 X_DEV_T_DECLARED = 0 // types.h:108:1: 99 X_FFLAGS_T_DECLARED = 0 // types.h:113:1: 100 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 101 X_FSBLKCNT_T_DECLARED = 0 // types.h:121:1: 102 X_FTRUNCATE_DECLARED = 0 // types.h:417:1: 103 X_GID_T_DECLARED = 0 // types.h:126:1: 104 X_ID_T_DECLARED = 0 // types.h:141:1: 105 X_ILP32 = 1 // <predefined>:1:1: 106 X_INO_T_DECLARED = 0 // types.h:146:1: 107 X_INT16_T_DECLARED = 0 // _stdint.h:42:1: 108 X_INT32_T_DECLARED = 0 // _stdint.h:47:1: 109 X_INT64_T_DECLARED = 0 // _stdint.h:52:1: 110 X_INT8_T_DECLARED = 0 // _stdint.h:37:1: 111 X_INTMAX_T_DECLARED = 0 // _stdint.h:85:1: 112 X_INTPTR_T_DECLARED = 0 // _stdint.h:77:1: 113 X_IN_ADDR_T_DECLARED = 0 // types.h:131:1: 114 X_IN_PORT_T_DECLARED = 0 // types.h:136:1: 115 X_KEY_T_DECLARED = 0 // types.h:151:1: 116 X_LITTLE_ENDIAN = 1234 // _endian.h:46:1: 117 X_LOCALE_T_DEFINED = 0 // _time.h:34:1: 118 X_LSEEK_DECLARED = 0 // types.h:421:1: 119 X_LWPID_T_DECLARED = 0 // types.h:156:1: 120 X_MACHINE_ENDIAN_H_ = 0 // endian.h:36:1: 121 X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1: 122 X_MACHINE__TYPES_H_ = 0 // _types.h:42:1: 123 X_MMAP_DECLARED = 0 // types.h:425:1: 124 X_MODE_T_DECLARED = 0 // types.h:161:1: 125 X_MQD_T_DECLARED = 0 // types.h:227:1: 126 X_NLINK_T_DECLARED = 0 // types.h:171:1: 127 X_Nonnull = 0 // cdefs.h:790:1: 128 X_Null_unspecified = 0 // cdefs.h:792:1: 129 X_Nullable = 0 // cdefs.h:791:1: 130 X_OFF64_T_DECLARED = 0 // types.h:181:1: 131 X_OFF_T_DECLARED = 0 // types.h:176:1: 132 X_PDP_ENDIAN = 3412 // _endian.h:48:1: 133 X_PID_T_DECLARED = 0 // types.h:186:1: 134 X_PTHREAD_H_ = 0 // pthread.h:38:1: 135 X_PTHREAD_T_DECLARED = 0 // _pthreadtypes.h:68:1: 136 X_QUAD_HIGHWORD = 1 // _endian.h:55:1: 137 X_QUAD_LOWWORD = 0 // _endian.h:56:1: 138 X_RLIM_T_DECLARED = 0 // types.h:193:1: 139 X_SCHED_H_ = 0 // sched.h:65:1: 140 X_SELECT_DECLARED = 0 // select.h:103:1: 141 X_SIGSET_T_DECLARED = 0 // select.h:50:1: 142 X_SIG_MAXSIG = 128 // _sigset.h:47:1: 143 X_SIG_WORDS = 4 // _sigset.h:46:1: 144 X_SIZE_T_DECLARED = 0 // types.h:202:1: 145 X_SSIZE_T_DECLARED = 0 // types.h:207:1: 146 X_SUSECONDS_T_DECLARED = 0 // types.h:212:1: 147 X_SYS_BITSET_H_ = 0 // bitset.h:35:1: 148 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 149 X_SYS_CPUSET_H_ = 0 // cpuset.h:35:1: 150 X_SYS_SELECT_H_ = 0 // select.h:35:1: 151 X_SYS_SYS__CLOCK_ID_H = 0 // _clock_id.h:40:1: 152 X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1: 153 X_SYS_TYPES_H_ = 0 // types.h:41:1: 154 X_SYS__BITSET_H_ = 0 // _bitset.h:35:1: 155 X_SYS__CPUSET_H_ = 0 // _cpuset.h:35:1: 156 X_SYS__ENDIAN_H_ = 0 // _endian.h:33:1: 157 X_SYS__PTHREADTYPES_H_ = 0 // _pthreadtypes.h:39:1: 158 X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1: 159 X_SYS__STDINT_H_ = 0 // _stdint.h:33:1: 160 X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1: 161 X_SYS__TIMEVAL_H_ = 0 // _timeval.h:32:1: 162 X_SYS__TYPES_H_ = 0 // _types.h:32:1: 163 X_TIMER_T_DECLARED = 0 // types.h:222:1: 164 X_TIME_H_ = 0 // time.h:44:1: 165 X_TIME_T_DECLARED = 0 // types.h:217:1: 166 X_TRUNCATE_DECLARED = 0 // types.h:429:1: 167 X_UID_T_DECLARED = 0 // types.h:234:1: 168 X_UINT16_T_DECLARED = 0 // _stdint.h:62:1: 169 X_UINT32_T_DECLARED = 0 // _stdint.h:67:1: 170 X_UINT64_T_DECLARED = 0 // _stdint.h:72:1: 171 X_UINT8_T_DECLARED = 0 // _stdint.h:57:1: 172 X_UINTMAX_T_DECLARED = 0 // _stdint.h:89:1: 173 X_UINTPTR_T_DECLARED = 0 // _stdint.h:81:1: 174 X_USECONDS_T_DECLARED = 0 // types.h:239:1: 175 X_XLOCALE_LOCALE1_H = 0 // _time.h:44:1: 176 I386 = 1 // <predefined>:335:1: 177 Unix = 1 // <predefined>:336:1: 178 ) 179 180 // Run-time invariant values: 181 182 // Flags for threads and thread attributes. 183 184 // Values for process shared/private attributes. 185 186 // Flags for cancelling threads 187 188 // Flags for once initialization. 189 190 // Static once initialization values. 191 192 // Static initialization values. 193 194 // Default attribute arguments (draft 4, deprecated). 195 196 // Mutex types (Single UNIX Specification, Version 2, 1997). 197 // 198 // Note that a mutex attribute with one of the following types: 199 // 200 // PTHREAD_MUTEX_NORMAL 201 // PTHREAD_MUTEX_RECURSIVE 202 // 203 // will deviate from POSIX specified semantics. 204 const ( /* pthread.h:130:1: */ 205 PTHREAD_MUTEX_ERRORCHECK = 1 // Default POSIX mutex 206 PTHREAD_MUTEX_RECURSIVE = 2 // Recursive mutex 207 PTHREAD_MUTEX_NORMAL = 3 // No error checking 208 PTHREAD_MUTEX_ADAPTIVE_NP = 4 // Adaptive mutex, spins briefly before blocking on lock 209 PTHREAD_MUTEX_TYPE_MAX = 5 210 ) 211 212 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 213 214 type Size_t = uint32 /* <builtin>:9:23 */ 215 216 type Wchar_t = int32 /* <builtin>:15:24 */ 217 218 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 219 type X__float128 = float64 /* <builtin>:47:21 */ 220 type Pthread_once = struct { 221 Fstate int32 222 Fmutex Pthread_mutex_t 223 } /* _pthreadtypes.h:52:1 */ 224 225 // Primitive system data type definitions required by P1003.1c. 226 // 227 // Note that P1003.1c specifies that there are no defined comparison 228 // or assignment operators for the types pthread_attr_t, pthread_cond_t, 229 // pthread_condattr_t, pthread_mutex_t, pthread_mutexattr_t. 230 type Pthread_t = uintptr /* _pthreadtypes.h:67:26 */ 231 type Pthread_attr_t = uintptr /* _pthreadtypes.h:70:30 */ 232 type Pthread_mutex_t = uintptr /* _pthreadtypes.h:71:31 */ 233 type Pthread_mutexattr_t = uintptr /* _pthreadtypes.h:72:35 */ 234 type Pthread_cond_t = uintptr /* _pthreadtypes.h:73:30 */ 235 type Pthread_condattr_t = uintptr /* _pthreadtypes.h:74:34 */ 236 type Pthread_key_t = int32 /* _pthreadtypes.h:75:20 */ 237 type Pthread_once_t = Pthread_once /* _pthreadtypes.h:76:30 */ 238 type Pthread_rwlock_t = uintptr /* _pthreadtypes.h:77:32 */ 239 type Pthread_rwlockattr_t = uintptr /* _pthreadtypes.h:78:35 */ 240 type Pthread_barrier_t = uintptr /* _pthreadtypes.h:79:33 */ 241 type Pthread_barrierattr_t = uintptr /* _pthreadtypes.h:80:36 */ 242 type Pthread_spinlock_t = uintptr /* _pthreadtypes.h:81:33 */ 243 244 // Additional type definitions: 245 // 246 // Note that P1003.1c reserves the prefixes pthread_ and PTHREAD_ for 247 // use in header symbols. 248 type Pthread_addr_t = uintptr /* _pthreadtypes.h:89:14 */ 249 type Pthread_startroutine_t = uintptr /* _pthreadtypes.h:90:14 */ 250 251 // - 252 // This file is in the public domain. 253 // $FreeBSD$ 254 255 // - 256 // SPDX-License-Identifier: BSD-3-Clause 257 // 258 // Copyright (c) 1988, 1993 259 // The Regents of the University of California. All rights reserved. 260 // 261 // Redistribution and use in source and binary forms, with or without 262 // modification, are permitted provided that the following conditions 263 // are met: 264 // 1. Redistributions of source code must retain the above copyright 265 // notice, this list of conditions and the following disclaimer. 266 // 2. Redistributions in binary form must reproduce the above copyright 267 // notice, this list of conditions and the following disclaimer in the 268 // documentation and/or other materials provided with the distribution. 269 // 3. Neither the name of the University nor the names of its contributors 270 // may be used to endorse or promote products derived from this software 271 // without specific prior written permission. 272 // 273 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 274 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 275 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 276 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 277 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 278 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 279 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 280 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 281 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 282 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 283 // SUCH DAMAGE. 284 // 285 // @(#)limits.h 8.3 (Berkeley) 1/4/94 286 // $FreeBSD$ 287 288 // According to ANSI (section 2.2.4.2), the values below must be usable by 289 // #if preprocessing directives. Additionally, the expression must have the 290 // same type as would an expression that is an object of the corresponding 291 // type converted according to the integral promotions. The subtraction for 292 // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an 293 // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). 294 295 // max value for an unsigned long long 296 297 // Minimum signal stack size. 298 299 // - 300 // This file is in the public domain. 301 // $FreeBSD$ 302 303 // - 304 // SPDX-License-Identifier: BSD-4-Clause 305 // 306 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 307 // Copyright (c) 1990, 1993 308 // The Regents of the University of California. All rights reserved. 309 // 310 // Redistribution and use in source and binary forms, with or without 311 // modification, are permitted provided that the following conditions 312 // are met: 313 // 1. Redistributions of source code must retain the above copyright 314 // notice, this list of conditions and the following disclaimer. 315 // 2. Redistributions in binary form must reproduce the above copyright 316 // notice, this list of conditions and the following disclaimer in the 317 // documentation and/or other materials provided with the distribution. 318 // 3. All advertising materials mentioning features or use of this software 319 // must display the following acknowledgement: 320 // This product includes software developed by the University of 321 // California, Berkeley and its contributors. 322 // 4. Neither the name of the University nor the names of its contributors 323 // may be used to endorse or promote products derived from this software 324 // without specific prior written permission. 325 // 326 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 327 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 328 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 329 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 330 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 331 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 332 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 333 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 334 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 335 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 336 // SUCH DAMAGE. 337 // 338 // From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 339 // From: @(#)types.h 8.3 (Berkeley) 1/5/94 340 // $FreeBSD$ 341 342 // - 343 // This file is in the public domain. 344 // $FreeBSD$ 345 346 // - 347 // SPDX-License-Identifier: BSD-3-Clause 348 // 349 // Copyright (c) 1988, 1993 350 // The Regents of the University of California. 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 // @(#)limits.h 8.3 (Berkeley) 1/4/94 377 // $FreeBSD$ 378 379 // Basic types upon which most other types are built. 380 type X__int8_t = int8 /* _types.h:55:22 */ 381 type X__uint8_t = uint8 /* _types.h:56:24 */ 382 type X__int16_t = int16 /* _types.h:57:17 */ 383 type X__uint16_t = uint16 /* _types.h:58:25 */ 384 type X__int32_t = int32 /* _types.h:59:15 */ 385 type X__uint32_t = uint32 /* _types.h:60:23 */ 386 387 type X__int64_t = int64 /* _types.h:66:20 */ 388 389 type X__uint64_t = uint64 /* _types.h:68:28 */ 390 391 // Standard type definitions. 392 type X__clock_t = uint32 /* _types.h:84:23 */ 393 type X__critical_t = X__int32_t /* _types.h:85:19 */ 394 type X__double_t = float64 /* _types.h:87:21 */ 395 type X__float_t = float64 /* _types.h:88:21 */ 396 type X__intfptr_t = X__int32_t /* _types.h:90:19 */ 397 type X__intptr_t = X__int32_t /* _types.h:91:19 */ 398 type X__intmax_t = X__int64_t /* _types.h:93:19 */ 399 type X__int_fast8_t = X__int32_t /* _types.h:94:19 */ 400 type X__int_fast16_t = X__int32_t /* _types.h:95:19 */ 401 type X__int_fast32_t = X__int32_t /* _types.h:96:19 */ 402 type X__int_fast64_t = X__int64_t /* _types.h:97:19 */ 403 type X__int_least8_t = X__int8_t /* _types.h:98:18 */ 404 type X__int_least16_t = X__int16_t /* _types.h:99:19 */ 405 type X__int_least32_t = X__int32_t /* _types.h:100:19 */ 406 type X__int_least64_t = X__int64_t /* _types.h:101:19 */ 407 type X__ptrdiff_t = X__int32_t /* _types.h:112:19 */ 408 type X__register_t = X__int32_t /* _types.h:113:19 */ 409 type X__segsz_t = X__int32_t /* _types.h:114:19 */ 410 type X__size_t = X__uint32_t /* _types.h:115:20 */ 411 type X__ssize_t = X__int32_t /* _types.h:116:19 */ 412 type X__time_t = X__int32_t /* _types.h:117:19 */ 413 type X__uintfptr_t = X__uint32_t /* _types.h:118:20 */ 414 type X__uintptr_t = X__uint32_t /* _types.h:119:20 */ 415 type X__uintmax_t = X__uint64_t /* _types.h:121:20 */ 416 type X__uint_fast8_t = X__uint32_t /* _types.h:122:20 */ 417 type X__uint_fast16_t = X__uint32_t /* _types.h:123:20 */ 418 type X__uint_fast32_t = X__uint32_t /* _types.h:124:20 */ 419 type X__uint_fast64_t = X__uint64_t /* _types.h:125:20 */ 420 type X__uint_least8_t = X__uint8_t /* _types.h:126:19 */ 421 type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */ 422 type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */ 423 type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */ 424 type X__u_register_t = X__uint32_t /* _types.h:136:20 */ 425 type X__vm_offset_t = X__uint32_t /* _types.h:137:20 */ 426 type X__vm_paddr_t = X__uint64_t /* _types.h:138:20 */ 427 type X__vm_size_t = X__uint32_t /* _types.h:139:20 */ 428 type X___wchar_t = int32 /* _types.h:141:14 */ 429 430 // - 431 // SPDX-License-Identifier: BSD-3-Clause 432 // 433 // Copyright (c) 1982, 1986, 1989, 1991, 1993 434 // The Regents of the University of California. All rights reserved. 435 // (c) UNIX System Laboratories, Inc. 436 // All or some portions of this file are derived from material licensed 437 // to the University of California by American Telephone and Telegraph 438 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 439 // the permission of UNIX System Laboratories, Inc. 440 // 441 // Redistribution and use in source and binary forms, with or without 442 // modification, are permitted provided that the following conditions 443 // are met: 444 // 1. Redistributions of source code must retain the above copyright 445 // notice, this list of conditions and the following disclaimer. 446 // 2. Redistributions in binary form must reproduce the above copyright 447 // notice, this list of conditions and the following disclaimer in the 448 // documentation and/or other materials provided with the distribution. 449 // 3. Neither the name of the University nor the names of its contributors 450 // may be used to endorse or promote products derived from this software 451 // without specific prior written permission. 452 // 453 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 454 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 455 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 456 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 457 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 458 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 459 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 460 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 461 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 462 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 463 // SUCH DAMAGE. 464 // 465 // @(#)signal.h 8.4 (Berkeley) 5/4/95 466 // $FreeBSD$ 467 468 // sigset_t macros. 469 470 type X__sigset = struct{ F__bits [4]X__uint32_t } /* _sigset.h:53:9 */ 471 472 // - 473 // SPDX-License-Identifier: BSD-3-Clause 474 // 475 // Copyright (c) 1982, 1986, 1989, 1991, 1993 476 // The Regents of the University of California. All rights reserved. 477 // (c) UNIX System Laboratories, Inc. 478 // All or some portions of this file are derived from material licensed 479 // to the University of California by American Telephone and Telegraph 480 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 481 // the permission of UNIX System Laboratories, Inc. 482 // 483 // Redistribution and use in source and binary forms, with or without 484 // modification, are permitted provided that the following conditions 485 // are met: 486 // 1. Redistributions of source code must retain the above copyright 487 // notice, this list of conditions and the following disclaimer. 488 // 2. Redistributions in binary form must reproduce the above copyright 489 // notice, this list of conditions and the following disclaimer in the 490 // documentation and/or other materials provided with the distribution. 491 // 3. Neither the name of the University nor the names of its contributors 492 // may be used to endorse or promote products derived from this software 493 // without specific prior written permission. 494 // 495 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 496 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 497 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 498 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 499 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 500 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 501 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 502 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 503 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 504 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 505 // SUCH DAMAGE. 506 // 507 // @(#)signal.h 8.4 (Berkeley) 5/4/95 508 // $FreeBSD$ 509 510 // sigset_t macros. 511 512 type X__sigset_t = X__sigset /* _sigset.h:55:3 */ 513 514 // - 515 // Copyright (c) 2021 The FreeBSD Foundation 516 // 517 // This software were developed by Konstantin Belousov <kib@FreeBSD.org> 518 // under sponsorship from the FreeBSD Foundation. 519 // 520 // Redistribution and use in source and binary forms, with or without 521 // modification, are permitted provided that the following conditions 522 // are met: 523 // 1. Redistributions of source code must retain the above copyright 524 // notice, this list of conditions and the following disclaimer. 525 // 2. Redistributions in binary form must reproduce the above copyright 526 // notice, this list of conditions and the following disclaimer in the 527 // documentation and/or other materials provided with the distribution. 528 // 529 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 530 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 531 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 532 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 533 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 534 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 535 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 536 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 537 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 538 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 539 // SUCH DAMAGE. 540 541 // - 542 // SPDX-License-Identifier: BSD-3-Clause 543 // 544 // Copyright (c) 1991, 1993 545 // The Regents of the University of California. All rights reserved. 546 // 547 // This code is derived from software contributed to Berkeley by 548 // Berkeley Software Design, Inc. 549 // 550 // Redistribution and use in source and binary forms, with or without 551 // modification, are permitted provided that the following conditions 552 // are met: 553 // 1. Redistributions of source code must retain the above copyright 554 // notice, this list of conditions and the following disclaimer. 555 // 2. Redistributions in binary form must reproduce the above copyright 556 // notice, this list of conditions and the following disclaimer in the 557 // documentation and/or other materials provided with the distribution. 558 // 3. Neither the name of the University nor the names of its contributors 559 // may be used to endorse or promote products derived from this software 560 // without specific prior written permission. 561 // 562 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 563 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 564 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 565 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 566 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 567 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 568 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 569 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 570 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 571 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 572 // SUCH DAMAGE. 573 // 574 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 575 // $FreeBSD$ 576 577 // - 578 // SPDX-License-Identifier: BSD-3-Clause 579 // 580 // Copyright (c) 1982, 1986, 1991, 1993, 1994 581 // The Regents of the University of California. All rights reserved. 582 // (c) UNIX System Laboratories, Inc. 583 // All or some portions of this file are derived from material licensed 584 // to the University of California by American Telephone and Telegraph 585 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 586 // the permission of UNIX System Laboratories, Inc. 587 // 588 // Redistribution and use in source and binary forms, with or without 589 // modification, are permitted provided that the following conditions 590 // are met: 591 // 1. Redistributions of source code must retain the above copyright 592 // notice, this list of conditions and the following disclaimer. 593 // 2. Redistributions in binary form must reproduce the above copyright 594 // notice, this list of conditions and the following disclaimer in the 595 // documentation and/or other materials provided with the distribution. 596 // 3. Neither the name of the University nor the names of its contributors 597 // may be used to endorse or promote products derived from this software 598 // without specific prior written permission. 599 // 600 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 601 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 602 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 603 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 604 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 605 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 606 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 607 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 608 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 609 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 610 // SUCH DAMAGE. 611 // 612 // @(#)types.h 8.6 (Berkeley) 2/19/95 613 // $FreeBSD$ 614 615 // - 616 // SPDX-License-Identifier: BSD-3-Clause 617 // 618 // Copyright (c) 1991, 1993 619 // The Regents of the University of California. All rights reserved. 620 // 621 // This code is derived from software contributed to Berkeley by 622 // Berkeley Software Design, Inc. 623 // 624 // Redistribution and use in source and binary forms, with or without 625 // modification, are permitted provided that the following conditions 626 // are met: 627 // 1. Redistributions of source code must retain the above copyright 628 // notice, this list of conditions and the following disclaimer. 629 // 2. Redistributions in binary form must reproduce the above copyright 630 // notice, this list of conditions and the following disclaimer in the 631 // documentation and/or other materials provided with the distribution. 632 // 3. Neither the name of the University nor the names of its contributors 633 // may be used to endorse or promote products derived from this software 634 // without specific prior written permission. 635 // 636 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 637 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 638 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 639 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 640 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 641 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 642 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 643 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 644 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 645 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 646 // SUCH DAMAGE. 647 // 648 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 649 // $FreeBSD$ 650 651 // Machine type dependent parameters. 652 // - 653 // This file is in the public domain. 654 // $FreeBSD$ 655 656 // - 657 // SPDX-License-Identifier: BSD-3-Clause 658 // 659 // Copyright (c) 1987, 1991 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 // @(#)endian.h 7.8 (Berkeley) 4/3/91 687 // $FreeBSD$ 688 689 // - 690 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 691 // 692 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 693 // All rights reserved. 694 // 695 // Redistribution and use in source and binary forms, with or without 696 // modification, are permitted provided that the following conditions 697 // are met: 698 // 1. Redistributions of source code must retain the above copyright 699 // notice, this list of conditions and the following disclaimer. 700 // 2. Redistributions in binary form must reproduce the above copyright 701 // notice, this list of conditions and the following disclaimer in the 702 // documentation and/or other materials provided with the distribution. 703 // 704 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 705 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 706 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 707 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 708 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 709 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 710 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 711 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 712 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 713 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 714 // SUCH DAMAGE. 715 // 716 // $FreeBSD$ 717 718 // - 719 // SPDX-License-Identifier: BSD-3-Clause 720 // 721 // Copyright (c) 1991, 1993 722 // The Regents of the University of California. All rights reserved. 723 // 724 // This code is derived from software contributed to Berkeley by 725 // Berkeley Software Design, Inc. 726 // 727 // Redistribution and use in source and binary forms, with or without 728 // modification, are permitted provided that the following conditions 729 // are met: 730 // 1. Redistributions of source code must retain the above copyright 731 // notice, this list of conditions and the following disclaimer. 732 // 2. Redistributions in binary form must reproduce the above copyright 733 // notice, this list of conditions and the following disclaimer in the 734 // documentation and/or other materials provided with the distribution. 735 // 3. Neither the name of the University nor the names of its contributors 736 // may be used to endorse or promote products derived from this software 737 // without specific prior written permission. 738 // 739 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 740 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 741 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 742 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 743 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 744 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 745 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 746 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 747 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 748 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 749 // SUCH DAMAGE. 750 // 751 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 752 // $FreeBSD$ 753 754 // - 755 // This file is in the public domain. 756 // $FreeBSD$ 757 758 // - 759 // SPDX-License-Identifier: BSD-4-Clause 760 // 761 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 762 // Copyright (c) 1990, 1993 763 // The Regents of the University of California. All rights reserved. 764 // 765 // Redistribution and use in source and binary forms, with or without 766 // modification, are permitted provided that the following conditions 767 // are met: 768 // 1. Redistributions of source code must retain the above copyright 769 // notice, this list of conditions and the following disclaimer. 770 // 2. Redistributions in binary form must reproduce the above copyright 771 // notice, this list of conditions and the following disclaimer in the 772 // documentation and/or other materials provided with the distribution. 773 // 3. All advertising materials mentioning features or use of this software 774 // must display the following acknowledgement: 775 // This product includes software developed by the University of 776 // California, Berkeley and its contributors. 777 // 4. Neither the name of the University nor the names of its contributors 778 // may be used to endorse or promote products derived from this software 779 // without specific prior written permission. 780 // 781 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 782 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 783 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 784 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 785 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 786 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 787 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 788 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 789 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 790 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 791 // SUCH DAMAGE. 792 // 793 // From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 794 // From: @(#)types.h 8.3 (Berkeley) 1/5/94 795 // $FreeBSD$ 796 797 // Standard type definitions. 798 type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size 799 type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count 800 type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()... 801 type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags 802 type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ 803 type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ 804 type X__gid_t = X__uint32_t /* _types.h:46:20 */ 805 type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t 806 type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number 807 type X__key_t = int32 /* _types.h:49:15 */ // IPC key (for Sys V IPC) 808 type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) 809 type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions 810 type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions 811 type X__nl_item = int32 /* _types.h:53:14 */ 812 type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count 813 type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset 814 type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias) 815 type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group] 816 type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally 817 // signed, because of legacy code 818 // that uses -1 for RLIM_INFINITY 819 type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ 820 type X__socklen_t = X__uint32_t /* _types.h:62:20 */ 821 type X__suseconds_t = int32 /* _types.h:63:15 */ // microseconds (signed) 822 type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()... 823 type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()... 824 type X__uid_t = X__uint32_t /* _types.h:66:20 */ 825 type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned) 826 type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset. 827 type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset. 828 type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier. 829 type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc 830 831 // Unusual type definitions. 832 // rune_t is declared to be an “int” instead of the more natural 833 // “unsigned long” or “long”. Two things are happening here. It is not 834 // unsigned so that EOF (-1) can be naturally assigned to it and used. Also, 835 // it looks like 10646 will be a 31 bit standard. This means that if your 836 // ints cannot hold 32 bits, you will be in trouble. The reason an int was 837 // chosen over a long is that the is*() and to*() routines take ints (says 838 // ANSI C), but they use __ct_rune_t instead of int. 839 // 840 // NOTE: rune_t is not covered by ANSI nor other standards, and should not 841 // be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and 842 // rune_t must be the same type. Also, wint_t should be able to hold all 843 // members of the largest character set plus one extra value (WEOF), and 844 // must be at least 16 bits. 845 type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs 846 type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) 847 type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) 848 849 // Clang already provides these types as built-ins, but only in C++ mode. 850 type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ 851 type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ 852 // In C++11, char16_t and char32_t are built-in types. 853 854 type X__max_align_t = struct { 855 F__max_align1 int64 856 F__max_align2 float64 857 } /* _types.h:111:3 */ 858 859 type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number 860 861 type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number 862 863 // mbstate_t is an opaque object to keep conversion state during multibyte 864 // stream conversions. 865 type X__mbstate_t = struct { 866 F__ccgo_pad1 [0]uint32 867 F__mbstate8 [128]int8 868 } /* _types.h:124:3 */ 869 870 type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ 871 872 // Types for varargs. These are all provided by builtin types these 873 // days, so centralize their definition. 874 type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc 875 type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers 876 877 // When the following macro is defined, the system uses 64-bit inode numbers. 878 // Programs can use this to avoid including <sys/param.h>, with its associated 879 // namespace pollution. 880 881 // - 882 // SPDX-License-Identifier: BSD-3-Clause 883 // 884 // Copyright (c) 1987, 1991 Regents of the University of California. 885 // All rights reserved. 886 // 887 // Redistribution and use in source and binary forms, with or without 888 // modification, are permitted provided that the following conditions 889 // are met: 890 // 1. Redistributions of source code must retain the above copyright 891 // notice, this list of conditions and the following disclaimer. 892 // 2. Redistributions in binary form must reproduce the above copyright 893 // notice, this list of conditions and the following disclaimer in the 894 // documentation and/or other materials provided with the distribution. 895 // 3. Neither the name of the University nor the names of its contributors 896 // may be used to endorse or promote products derived from this software 897 // without specific prior written permission. 898 // 899 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 900 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 901 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 902 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 903 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 904 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 905 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 906 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 907 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 908 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 909 // SUCH DAMAGE. 910 911 // BSD Compatiblity 912 913 // Definitions for byte order, according to byte significance from low 914 // address to high. 915 916 // Define the order of 32-bit words in 64-bit words. 917 918 // Deprecated variants that don't have enough underscores to be useful in more 919 // strict namespaces. 920 921 // bswap primitives, based on compiler builtins 922 923 // - 924 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 925 // 926 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 927 // All rights reserved. 928 // 929 // Redistribution and use in source and binary forms, with or without 930 // modification, are permitted provided that the following conditions 931 // are met: 932 // 1. Redistributions of source code must retain the above copyright 933 // notice, this list of conditions and the following disclaimer. 934 // 2. Redistributions in binary form must reproduce the above copyright 935 // notice, this list of conditions and the following disclaimer in the 936 // documentation and/or other materials provided with the distribution. 937 // 938 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 939 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 940 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 941 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 942 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 943 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 944 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 945 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 946 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 947 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 948 // SUCH DAMAGE. 949 // 950 // $FreeBSD$ 951 952 // - 953 // SPDX-License-Identifier: BSD-3-Clause 954 // 955 // Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu 956 // Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au> 957 // All rights reserved. 958 // 959 // Redistribution and use in source and binary forms, with or without 960 // modification, are permitted provided that the following conditions 961 // are met: 962 // 1. Redistributions of source code must retain the above copyright 963 // notice, this list of conditions and the following disclaimer. 964 // 2. Redistributions in binary form must reproduce the above copyright 965 // notice, this list of conditions and the following disclaimer in the 966 // documentation and/or other materials provided with the distribution. 967 // 3. All advertising materials mentioning features or use of this software 968 // must display the following acknowledgement: 969 // This product includes software developed by Chris Provenzano. 970 // 4. The name of Chris Provenzano may not be used to endorse or promote 971 // products derived from this software without specific prior written 972 // permission. 973 // 974 // THIS SOFTWARE IS PROVIDED BY CHRIS PROVENZANO ``AS IS'' AND 975 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 976 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 977 // ARE DISCLAIMED. IN NO EVENT SHALL CHRIS PROVENZANO BE LIABLE FOR ANY 978 // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 979 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 980 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 981 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 982 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 983 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 984 // SUCH DAMAGE. 985 // 986 // $FreeBSD$ 987 988 type U_char = uint8 /* types.h:52:23 */ 989 type U_short = uint16 /* types.h:53:24 */ 990 type U_int = uint32 /* types.h:54:22 */ 991 type U_long = uint32 /* types.h:55:23 */ 992 type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility 993 type Uint = uint32 /* types.h:58:22 */ // Sys V compatibility 994 995 // XXX POSIX sized integrals that should appear only in <sys/stdint.h>. 996 // - 997 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 998 // 999 // Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org> 1000 // Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org> 1001 // All rights reserved. 1002 // 1003 // Redistribution and use in source and binary forms, with or without 1004 // modification, are permitted provided that the following conditions 1005 // are met: 1006 // 1. Redistributions of source code must retain the above copyright 1007 // notice, this list of conditions and the following disclaimer. 1008 // 2. Redistributions in binary form must reproduce the above copyright 1009 // notice, this list of conditions and the following disclaimer in the 1010 // documentation and/or other materials provided with the distribution. 1011 // 1012 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1013 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1014 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1015 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1016 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1017 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1018 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1019 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1020 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1021 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1022 // SUCH DAMAGE. 1023 // 1024 // $FreeBSD$ 1025 1026 type Int8_t = X__int8_t /* _stdint.h:36:19 */ 1027 1028 type Int16_t = X__int16_t /* _stdint.h:41:20 */ 1029 1030 type Int32_t = X__int32_t /* _stdint.h:46:20 */ 1031 1032 type Int64_t = X__int64_t /* _stdint.h:51:20 */ 1033 1034 type Uint8_t = X__uint8_t /* _stdint.h:56:20 */ 1035 1036 type Uint16_t = X__uint16_t /* _stdint.h:61:21 */ 1037 1038 type Uint32_t = X__uint32_t /* _stdint.h:66:21 */ 1039 1040 type Uint64_t = X__uint64_t /* _stdint.h:71:21 */ 1041 1042 type Intptr_t = X__intptr_t /* _stdint.h:76:21 */ 1043 type Uintptr_t = X__uintptr_t /* _stdint.h:80:22 */ 1044 type Intmax_t = X__intmax_t /* _stdint.h:84:21 */ 1045 type Uintmax_t = X__uintmax_t /* _stdint.h:88:22 */ 1046 1047 type U_int8_t = X__uint8_t /* types.h:67:19 */ // unsigned integrals (deprecated) 1048 type U_int16_t = X__uint16_t /* types.h:68:20 */ 1049 type U_int32_t = X__uint32_t /* types.h:69:20 */ 1050 type U_int64_t = X__uint64_t /* types.h:70:20 */ 1051 1052 type U_quad_t = X__uint64_t /* types.h:72:20 */ // quads (deprecated) 1053 type Quad_t = X__int64_t /* types.h:73:19 */ 1054 type Qaddr_t = uintptr /* types.h:74:16 */ 1055 1056 type Caddr_t = uintptr /* types.h:76:14 */ // core address 1057 type C_caddr_t = uintptr /* types.h:77:20 */ // core address, pointer to const 1058 1059 type Blksize_t = X__blksize_t /* types.h:80:21 */ 1060 1061 type Cpuwhich_t = X__cpuwhich_t /* types.h:84:22 */ 1062 type Cpulevel_t = X__cpulevel_t /* types.h:85:22 */ 1063 type Cpusetid_t = X__cpusetid_t /* types.h:86:22 */ 1064 1065 type Blkcnt_t = X__blkcnt_t /* types.h:89:20 */ 1066 1067 type Clock_t = X__clock_t /* types.h:94:19 */ 1068 1069 type Clockid_t = X__clockid_t /* types.h:99:21 */ 1070 1071 type Critical_t = X__critical_t /* types.h:103:22 */ // Critical section value 1072 type Daddr_t = X__daddr_t /* types.h:104:19 */ // disk address 1073 1074 type Dev_t = X__dev_t /* types.h:107:18 */ // device number or struct cdev 1075 1076 type Fflags_t = X__fflags_t /* types.h:112:20 */ // file flags 1077 1078 type Fixpt_t = X__fixpt_t /* types.h:116:19 */ // fixed point number 1079 1080 type Fsblkcnt_t = X__fsblkcnt_t /* types.h:119:22 */ 1081 type Fsfilcnt_t = X__fsfilcnt_t /* types.h:120:22 */ 1082 1083 type Gid_t = X__gid_t /* types.h:125:18 */ // group id 1084 1085 type In_addr_t = X__uint32_t /* types.h:130:20 */ // base type for internet address 1086 1087 type In_port_t = X__uint16_t /* types.h:135:20 */ 1088 1089 type Id_t = X__id_t /* types.h:140:17 */ // can hold a uid_t or pid_t 1090 1091 type Ino_t = X__ino_t /* types.h:145:18 */ // inode number 1092 1093 type Key_t = X__key_t /* types.h:150:18 */ // IPC key (for Sys V IPC) 1094 1095 type Lwpid_t = X__lwpid_t /* types.h:155:19 */ // Thread ID (a.k.a. LWP) 1096 1097 type Mode_t = X__mode_t /* types.h:160:18 */ // permissions 1098 1099 type Accmode_t = X__accmode_t /* types.h:165:21 */ // access permissions 1100 1101 type Nlink_t = X__nlink_t /* types.h:170:19 */ // link count 1102 1103 type Off_t = X__off_t /* types.h:175:18 */ // file offset 1104 1105 type Off64_t = X__off64_t /* types.h:180:19 */ // file offset (alias) 1106 1107 type Pid_t = X__pid_t /* types.h:185:18 */ // process id 1108 1109 type Register_t = X__register_t /* types.h:189:22 */ 1110 1111 type Rlim_t = X__rlim_t /* types.h:192:18 */ // resource limit 1112 1113 type Sbintime_t = X__int64_t /* types.h:196:19 */ 1114 1115 type Segsz_t = X__segsz_t /* types.h:198:19 */ 1116 1117 type Ssize_t = X__ssize_t /* types.h:206:19 */ 1118 1119 type Suseconds_t = X__suseconds_t /* types.h:211:23 */ // microseconds (signed) 1120 1121 type Time_t = X__time_t /* types.h:216:18 */ 1122 1123 type Timer_t = X__timer_t /* types.h:221:19 */ 1124 1125 type Mqd_t = X__mqd_t /* types.h:226:17 */ 1126 1127 type U_register_t = X__u_register_t /* types.h:230:24 */ 1128 1129 type Uid_t = X__uid_t /* types.h:233:18 */ // user id 1130 1131 type Useconds_t = X__useconds_t /* types.h:238:22 */ // microseconds (unsigned) 1132 1133 type Cap_ioctl_t = uint32 /* types.h:244:23 */ 1134 1135 // Types suitable for exporting physical addresses, virtual addresses 1136 // (pointers), and memory object sizes from the kernel independent of native 1137 // word size. These should be used in place of vm_paddr_t, (u)intptr_t, and 1138 // size_t in structs which contain such types that are shared with userspace. 1139 type Kpaddr_t = X__uint64_t /* types.h:260:20 */ 1140 type Kvaddr_t = X__uint64_t /* types.h:261:20 */ 1141 type Ksize_t = X__uint64_t /* types.h:262:20 */ 1142 type Kssize_t = X__int64_t /* types.h:263:19 */ 1143 1144 type Vm_offset_t = X__vm_offset_t /* types.h:265:23 */ 1145 type Vm_ooffset_t = X__uint64_t /* types.h:266:20 */ 1146 type Vm_paddr_t = X__vm_paddr_t /* types.h:267:22 */ 1147 type Vm_pindex_t = X__uint64_t /* types.h:268:20 */ 1148 type Vm_size_t = X__vm_size_t /* types.h:269:21 */ 1149 1150 type Rman_res_t = X__rman_res_t /* types.h:271:25 */ 1151 1152 // - 1153 // SPDX-License-Identifier: BSD-3-Clause 1154 // 1155 // Copyright (c) 1992, 1993 1156 // The Regents of the University of California. All rights reserved. 1157 // 1158 // Redistribution and use in source and binary forms, with or without 1159 // modification, are permitted provided that the following conditions 1160 // are met: 1161 // 1. Redistributions of source code must retain the above copyright 1162 // notice, this list of conditions and the following disclaimer. 1163 // 2. Redistributions in binary form must reproduce the above copyright 1164 // notice, this list of conditions and the following disclaimer in the 1165 // documentation and/or other materials provided with the distribution. 1166 // 3. Neither the name of the University nor the names of its contributors 1167 // may be used to endorse or promote products derived from this software 1168 // without specific prior written permission. 1169 // 1170 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1171 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1172 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1173 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1174 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1175 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1176 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1177 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1178 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1179 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1180 // SUCH DAMAGE. 1181 // 1182 // $FreeBSD$ 1183 1184 // - 1185 // SPDX-License-Identifier: BSD-3-Clause 1186 // 1187 // Copyright (c) 1991, 1993 1188 // The Regents of the University of California. All rights reserved. 1189 // 1190 // This code is derived from software contributed to Berkeley by 1191 // Berkeley Software Design, Inc. 1192 // 1193 // Redistribution and use in source and binary forms, with or without 1194 // modification, are permitted provided that the following conditions 1195 // are met: 1196 // 1. Redistributions of source code must retain the above copyright 1197 // notice, this list of conditions and the following disclaimer. 1198 // 2. Redistributions in binary form must reproduce the above copyright 1199 // notice, this list of conditions and the following disclaimer in the 1200 // documentation and/or other materials provided with the distribution. 1201 // 3. Neither the name of the University nor the names of its contributors 1202 // may be used to endorse or promote products derived from this software 1203 // without specific prior written permission. 1204 // 1205 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1206 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1207 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1208 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1209 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1210 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1211 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1212 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1213 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1214 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1215 // SUCH DAMAGE. 1216 // 1217 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1218 // $FreeBSD$ 1219 1220 // - 1221 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1222 // 1223 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 1224 // All rights reserved. 1225 // 1226 // Redistribution and use in source and binary forms, with or without 1227 // modification, are permitted provided that the following conditions 1228 // are met: 1229 // 1. Redistributions of source code must retain the above copyright 1230 // notice, this list of conditions and the following disclaimer. 1231 // 2. Redistributions in binary form must reproduce the above copyright 1232 // notice, this list of conditions and the following disclaimer in the 1233 // documentation and/or other materials provided with the distribution. 1234 // 1235 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1236 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1237 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1238 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1239 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1240 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1241 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1242 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1243 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1244 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1245 // SUCH DAMAGE. 1246 // 1247 // $FreeBSD$ 1248 1249 // - 1250 // SPDX-License-Identifier: BSD-3-Clause 1251 // 1252 // Copyright (c) 1982, 1986, 1989, 1991, 1993 1253 // The Regents of the University of California. All rights reserved. 1254 // (c) UNIX System Laboratories, Inc. 1255 // All or some portions of this file are derived from material licensed 1256 // to the University of California by American Telephone and Telegraph 1257 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 1258 // the permission of UNIX System Laboratories, Inc. 1259 // 1260 // Redistribution and use in source and binary forms, with or without 1261 // modification, are permitted provided that the following conditions 1262 // are met: 1263 // 1. Redistributions of source code must retain the above copyright 1264 // notice, this list of conditions and the following disclaimer. 1265 // 2. Redistributions in binary form must reproduce the above copyright 1266 // notice, this list of conditions and the following disclaimer in the 1267 // documentation and/or other materials provided with the distribution. 1268 // 3. Neither the name of the University nor the names of its contributors 1269 // may be used to endorse or promote products derived from this software 1270 // without specific prior written permission. 1271 // 1272 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1273 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1274 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1275 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1276 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1277 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1278 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1279 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1280 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1281 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1282 // SUCH DAMAGE. 1283 // 1284 // @(#)signal.h 8.4 (Berkeley) 5/4/95 1285 // $FreeBSD$ 1286 1287 // - 1288 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1289 // 1290 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 1291 // All rights reserved. 1292 // 1293 // Redistribution and use in source and binary forms, with or without 1294 // modification, are permitted provided that the following conditions 1295 // are met: 1296 // 1. Redistributions of source code must retain the above copyright 1297 // notice, this list of conditions and the following disclaimer. 1298 // 2. Redistributions in binary form must reproduce the above copyright 1299 // notice, this list of conditions and the following disclaimer in the 1300 // documentation and/or other materials provided with the distribution. 1301 // 1302 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1303 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1304 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1305 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1306 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1307 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1308 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1309 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1310 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1311 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1312 // SUCH DAMAGE. 1313 // 1314 // $FreeBSD$ 1315 1316 // - 1317 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1318 // 1319 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 1320 // All rights reserved. 1321 // 1322 // Redistribution and use in source and binary forms, with or without 1323 // modification, are permitted provided that the following conditions 1324 // are met: 1325 // 1. Redistributions of source code must retain the above copyright 1326 // notice, this list of conditions and the following disclaimer. 1327 // 2. Redistributions in binary form must reproduce the above copyright 1328 // notice, this list of conditions and the following disclaimer in the 1329 // documentation and/or other materials provided with the distribution. 1330 // 1331 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1332 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1333 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1334 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1335 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1336 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1337 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1338 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1339 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1340 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1341 // SUCH DAMAGE. 1342 // 1343 // $FreeBSD$ 1344 1345 // Structure returned by gettimeofday(2) system call, and used in other calls. 1346 type Timeval = struct { 1347 Ftv_sec Time_t 1348 Ftv_usec Suseconds_t 1349 } /* _timeval.h:49:1 */ 1350 1351 // - 1352 // SPDX-License-Identifier: BSD-3-Clause 1353 // 1354 // Copyright (c) 1982, 1986, 1993 1355 // The Regents of the University of California. All rights reserved. 1356 // 1357 // Redistribution and use in source and binary forms, with or without 1358 // modification, are permitted provided that the following conditions 1359 // are met: 1360 // 1. Redistributions of source code must retain the above copyright 1361 // notice, this list of conditions and the following disclaimer. 1362 // 2. Redistributions in binary form must reproduce the above copyright 1363 // notice, this list of conditions and the following disclaimer in the 1364 // documentation and/or other materials provided with the distribution. 1365 // 3. Neither the name of the University nor the names of its contributors 1366 // may be used to endorse or promote products derived from this software 1367 // without specific prior written permission. 1368 // 1369 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1370 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1371 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1372 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1373 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1374 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1375 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1376 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1377 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1378 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1379 // SUCH DAMAGE. 1380 // 1381 // @(#)time.h 8.5 (Berkeley) 5/4/95 1382 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp 1383 // $FreeBSD$ 1384 1385 // - 1386 // SPDX-License-Identifier: BSD-3-Clause 1387 // 1388 // Copyright (c) 1991, 1993 1389 // The Regents of the University of California. All rights reserved. 1390 // 1391 // This code is derived from software contributed to Berkeley by 1392 // Berkeley Software Design, Inc. 1393 // 1394 // Redistribution and use in source and binary forms, with or without 1395 // modification, are permitted provided that the following conditions 1396 // are met: 1397 // 1. Redistributions of source code must retain the above copyright 1398 // notice, this list of conditions and the following disclaimer. 1399 // 2. Redistributions in binary form must reproduce the above copyright 1400 // notice, this list of conditions and the following disclaimer in the 1401 // documentation and/or other materials provided with the distribution. 1402 // 3. Neither the name of the University nor the names of its contributors 1403 // may be used to endorse or promote products derived from this software 1404 // without specific prior written permission. 1405 // 1406 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1407 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1408 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1409 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1410 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1411 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1412 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1413 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1414 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1415 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1416 // SUCH DAMAGE. 1417 // 1418 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1419 // $FreeBSD$ 1420 1421 // - 1422 // SPDX-License-Identifier: BSD-3-Clause 1423 // 1424 // Copyright (c) 1982, 1986, 1993 1425 // The Regents of the University of California. All rights reserved. 1426 // 1427 // Redistribution and use in source and binary forms, with or without 1428 // modification, are permitted provided that the following conditions 1429 // are met: 1430 // 1. Redistributions of source code must retain the above copyright 1431 // notice, this list of conditions and the following disclaimer. 1432 // 2. Redistributions in binary form must reproduce the above copyright 1433 // notice, this list of conditions and the following disclaimer in the 1434 // documentation and/or other materials provided with the distribution. 1435 // 3. Neither the name of the University nor the names of its contributors 1436 // may be used to endorse or promote products derived from this software 1437 // without specific prior written permission. 1438 // 1439 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1440 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1441 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1442 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1443 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1444 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1445 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1446 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1447 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1448 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1449 // SUCH DAMAGE. 1450 // 1451 // @(#)time.h 8.5 (Berkeley) 5/4/95 1452 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp 1453 // $FreeBSD$ 1454 1455 // - 1456 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1457 // 1458 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 1459 // All rights reserved. 1460 // 1461 // Redistribution and use in source and binary forms, with or without 1462 // modification, are permitted provided that the following conditions 1463 // are met: 1464 // 1. Redistributions of source code must retain the above copyright 1465 // notice, this list of conditions and the following disclaimer. 1466 // 2. Redistributions in binary form must reproduce the above copyright 1467 // notice, this list of conditions and the following disclaimer in the 1468 // documentation and/or other materials provided with the distribution. 1469 // 1470 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1471 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1472 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1473 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1474 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1475 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1476 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1477 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1478 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1479 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1480 // SUCH DAMAGE. 1481 // 1482 // $FreeBSD$ 1483 1484 type Timespec = struct { 1485 Ftv_sec Time_t 1486 Ftv_nsec int32 1487 } /* _timespec.h:46:1 */ 1488 1489 // Structure defined by POSIX.1b to be like a itimerval, but with 1490 // timespecs. Used in the timer_*() system calls. 1491 type Itimerspec = struct { 1492 Fit_interval struct { 1493 Ftv_sec Time_t 1494 Ftv_nsec int32 1495 } 1496 Fit_value struct { 1497 Ftv_sec Time_t 1498 Ftv_nsec int32 1499 } 1500 } /* timespec.h:60:1 */ 1501 1502 type X__fd_mask = uint32 /* select.h:44:23 */ 1503 type Fd_mask = X__fd_mask /* select.h:46:19 */ 1504 1505 type Sigset_t = X__sigset_t /* select.h:51:20 */ 1506 1507 // Select uses bit masks of file descriptors in longs. These macros 1508 // manipulate such bit fields (the filesystem macros use chars). 1509 // FD_SETSIZE may be defined by the user, but the default here should 1510 // be enough for most uses. 1511 1512 type Fd_set1 = struct{ F__fds_bits [32]X__fd_mask } /* select.h:73:9 */ 1513 1514 // Select uses bit masks of file descriptors in longs. These macros 1515 // manipulate such bit fields (the filesystem macros use chars). 1516 // FD_SETSIZE may be defined by the user, but the default here should 1517 // be enough for most uses. 1518 1519 type Fd_set = Fd_set1 /* select.h:75:3 */ 1520 1521 // - 1522 // SPDX-License-Identifier: (BSD-4-Clause AND BSD-2-Clause-FreeBSD) 1523 // 1524 // Copyright (c) 1996, 1997 1525 // HD Associates, Inc. All rights reserved. 1526 // 1527 // Redistribution and use in source and binary forms, with or without 1528 // modification, are permitted provided that the following conditions 1529 // are met: 1530 // 1. Redistributions of source code must retain the above copyright 1531 // notice, this list of conditions and the following disclaimer. 1532 // 2. Redistributions in binary form must reproduce the above copyright 1533 // notice, this list of conditions and the following disclaimer in the 1534 // documentation and/or other materials provided with the distribution. 1535 // 3. All advertising materials mentioning features or use of this software 1536 // must display the following acknowledgement: 1537 // This product includes software developed by HD Associates, Inc 1538 // and Jukka Antero Ukkonen. 1539 // 4. Neither the name of the author nor the names of any co-contributors 1540 // may be used to endorse or promote products derived from this software 1541 // without specific prior written permission. 1542 // 1543 // THIS SOFTWARE IS PROVIDED BY HD ASSOCIATES AND CONTRIBUTORS ``AS IS'' AND 1544 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1545 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1546 // ARE DISCLAIMED. IN NO EVENT SHALL HD ASSOCIATES OR CONTRIBUTORS BE LIABLE 1547 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1548 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1549 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1550 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1551 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1552 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1553 // SUCH DAMAGE. 1554 1555 // - 1556 // Copyright (c) 2002-2008, Jeffrey Roberson <jeff@freebsd.org> 1557 // All rights reserved. 1558 // 1559 // Redistribution and use in source and binary forms, with or without 1560 // modification, are permitted provided that the following conditions 1561 // are met: 1562 // 1. Redistributions of source code must retain the above copyright 1563 // notice unmodified, this list of conditions, and the following 1564 // disclaimer. 1565 // 2. Redistributions in binary form must reproduce the above copyright 1566 // notice, this list of conditions and the following disclaimer in the 1567 // documentation and/or other materials provided with the distribution. 1568 // 1569 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1570 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1571 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1572 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1573 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1574 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1575 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 1576 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1577 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 1578 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1579 // 1580 // $FreeBSD$ 1581 1582 // POSIX 1003.1b Process Scheduling 1583 1584 // POSIX scheduling policies 1585 1586 type Sched_param = struct{ Fsched_priority int32 } /* sched.h:245:1 */ 1587 1588 // - 1589 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1590 // 1591 // Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org> 1592 // All rights reserved. 1593 // 1594 // Copyright (c) 2008 Nokia Corporation 1595 // All rights reserved. 1596 // 1597 // Redistribution and use in source and binary forms, with or without 1598 // modification, are permitted provided that the following conditions 1599 // are met: 1600 // 1. Redistributions of source code must retain the above copyright 1601 // notice unmodified, this list of conditions, and the following 1602 // disclaimer. 1603 // 2. Redistributions in binary form must reproduce the above copyright 1604 // notice, this list of conditions and the following disclaimer in the 1605 // documentation and/or other materials provided with the distribution. 1606 // 1607 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1608 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1609 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1610 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1611 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1612 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1613 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 1614 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1615 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 1616 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1617 // 1618 // $FreeBSD$ 1619 1620 // - 1621 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1622 // 1623 // Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org> 1624 // All rights reserved. 1625 // 1626 // Copyright (c) 2008 Nokia Corporation 1627 // All rights reserved. 1628 // 1629 // Redistribution and use in source and binary forms, with or without 1630 // modification, are permitted provided that the following conditions 1631 // are met: 1632 // 1. Redistributions of source code must retain the above copyright 1633 // notice unmodified, this list of conditions, and the following 1634 // disclaimer. 1635 // 2. Redistributions in binary form must reproduce the above copyright 1636 // notice, this list of conditions and the following disclaimer in the 1637 // documentation and/or other materials provided with the distribution. 1638 // 1639 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1640 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1641 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1642 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1643 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1644 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1645 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 1646 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1647 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 1648 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1649 // 1650 // $FreeBSD$ 1651 1652 // - 1653 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1654 // 1655 // Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org> 1656 // All rights reserved. 1657 // 1658 // Copyright (c) 2008 Nokia Corporation 1659 // All rights reserved. 1660 // 1661 // Redistribution and use in source and binary forms, with or without 1662 // modification, are permitted provided that the following conditions 1663 // are met: 1664 // 1. Redistributions of source code must retain the above copyright 1665 // notice unmodified, this list of conditions, and the following 1666 // 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 AUTHOR ``AS IS'' AND ANY EXPRESS OR 1672 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1673 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1674 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1675 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1676 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1677 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 1678 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1679 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 1680 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1681 // 1682 // $FreeBSD$ 1683 1684 // Macros addressing word and bit within it, tuned to make compiler 1685 // optimize cases when SETSIZE fits into single machine word. 1686 1687 // Helper to declare a bitset without it's size being a constant. 1688 // 1689 // Sadly we cannot declare a bitset struct with 'bits[]', because it's 1690 // the only member of the struct and the compiler complains. 1691 1692 // Define a default type that can be used while manually specifying size 1693 // to every call. 1694 1695 type X_cpuset = struct{ F__bits [8]int32 } /* _cpuset.h:49:1 */ 1696 1697 type Cpuset_t = X_cpuset /* _cpuset.h:50:24 */ 1698 type Cpu_set_t = X_cpuset /* sched.h:38:24 */ 1699 1700 // - 1701 // SPDX-License-Identifier: BSD-3-Clause 1702 // 1703 // Copyright (c) 1989, 1993 1704 // The Regents of the University of California. All rights reserved. 1705 // (c) UNIX System Laboratories, Inc. 1706 // All or some portions of this file are derived from material licensed 1707 // to the University of California by American Telephone and Telegraph 1708 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 1709 // the permission of UNIX System Laboratories, Inc. 1710 // 1711 // Redistribution and use in source and binary forms, with or without 1712 // modification, are permitted provided that the following conditions 1713 // are met: 1714 // 1. Redistributions of source code must retain the above copyright 1715 // notice, this list of conditions and the following disclaimer. 1716 // 2. Redistributions in binary form must reproduce the above copyright 1717 // notice, this list of conditions and the following disclaimer in the 1718 // documentation and/or other materials provided with the distribution. 1719 // 3. Neither the name of the University nor the names of its contributors 1720 // may be used to endorse or promote products derived from this software 1721 // without specific prior written permission. 1722 // 1723 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1724 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1725 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1726 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1727 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1728 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1729 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1730 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1731 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1732 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1733 // SUCH DAMAGE. 1734 // 1735 // @(#)time.h 8.3 (Berkeley) 1/21/94 1736 1737 // $FreeBSD$ 1738 1739 // - 1740 // SPDX-License-Identifier: BSD-3-Clause 1741 // 1742 // Copyright (c) 1991, 1993 1743 // The Regents of the University of California. All rights reserved. 1744 // 1745 // This code is derived from software contributed to Berkeley by 1746 // Berkeley Software Design, Inc. 1747 // 1748 // Redistribution and use in source and binary forms, with or without 1749 // modification, are permitted provided that the following conditions 1750 // are met: 1751 // 1. Redistributions of source code must retain the above copyright 1752 // notice, this list of conditions and the following disclaimer. 1753 // 2. Redistributions in binary form must reproduce the above copyright 1754 // notice, this list of conditions and the following disclaimer in the 1755 // documentation and/or other materials provided with the distribution. 1756 // 3. Neither the name of the University nor the names of its contributors 1757 // may be used to endorse or promote products derived from this software 1758 // without specific prior written permission. 1759 // 1760 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1761 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1762 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1763 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1764 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1765 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1766 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1767 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1768 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1769 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1770 // SUCH DAMAGE. 1771 // 1772 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 1773 // $FreeBSD$ 1774 1775 // - 1776 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1777 // 1778 // Copyright (c) 2003 Marcel Moolenaar 1779 // All rights reserved. 1780 // 1781 // Redistribution and use in source and binary forms, with or without 1782 // modification, are permitted provided that the following conditions 1783 // are met: 1784 // 1785 // 1. Redistributions of source code must retain the above copyright 1786 // notice, this list of conditions and the following disclaimer. 1787 // 2. Redistributions in binary form must reproduce the above copyright 1788 // notice, this list of conditions and the following disclaimer in the 1789 // documentation and/or other materials provided with the distribution. 1790 // 1791 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1792 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1793 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1794 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1795 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1796 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1797 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 1798 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1799 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 1800 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1801 // 1802 // $FreeBSD$ 1803 1804 // - 1805 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1806 // 1807 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 1808 // All rights reserved. 1809 // 1810 // Redistribution and use in source and binary forms, with or without 1811 // modification, are permitted provided that the following conditions 1812 // are met: 1813 // 1. Redistributions of source code must retain the above copyright 1814 // notice, this list of conditions and the following disclaimer. 1815 // 2. Redistributions in binary form must reproduce the above copyright 1816 // notice, this list of conditions and the following disclaimer in the 1817 // documentation and/or other materials provided with the distribution. 1818 // 1819 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1820 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1821 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1822 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1823 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1824 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1825 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1826 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1827 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1828 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1829 // SUCH DAMAGE. 1830 // 1831 // $FreeBSD$ 1832 1833 // - 1834 // SPDX-License-Identifier: BSD-3-Clause 1835 // 1836 // Copyright (c) 1989, 1993 1837 // The Regents of the University of California. All rights reserved. 1838 // (c) UNIX System Laboratories, Inc. 1839 // All or some portions of this file are derived from material licensed 1840 // to the University of California by American Telephone and Telegraph 1841 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 1842 // the permission of UNIX System Laboratories, Inc. 1843 // 1844 // Redistribution and use in source and binary forms, with or without 1845 // modification, are permitted provided that the following conditions 1846 // are met: 1847 // 1. Redistributions of source code must retain the above copyright 1848 // notice, this list of conditions and the following disclaimer. 1849 // 2. Redistributions in binary form must reproduce the above copyright 1850 // notice, this list of conditions and the following disclaimer in the 1851 // documentation and/or other materials provided with the distribution. 1852 // 3. Neither the name of the University nor the names of its contributors 1853 // may be used to endorse or promote products derived from this software 1854 // without specific prior written permission. 1855 // 1856 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1857 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1858 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1859 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1860 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1861 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1862 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1863 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1864 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1865 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1866 // SUCH DAMAGE. 1867 // 1868 // @(#)time.h 8.3 (Berkeley) 1/21/94 1869 1870 // These macros are shared between time.h and sys/time.h. 1871 1872 // Note: The values shown below as a comment for the __POSIX_VISIBLE values are 1873 // the ones FreeBSD traditionally used based on our reading of the POSIX 1874 // standards. However, glibc uses 199309 for all of them, even those many were 1875 // not defined there. To remain bug compatible with glibc means more software 1876 // that relied on the glibc behavior will compile easily on FreeBSD. 1877 // 1878 // Also, CLOCK_UPTIME_FAST is improperly visible temporarily for the lang/pocl 1879 // port until it can be updated properly. It incorrectly assumes that this was a 1880 // standard value. It will be moved back to the __BSD_VISIBLE section once the 1881 // issue is corrected. 1882 1883 // FreeBSD-specific clocks. 1884 1885 // Linux compatible names. 1886 1887 // Frequency of the clock ticks reported by times(). Deprecated - use 1888 // sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.) 1889 1890 // Frequency of the clock ticks reported by clock(). 1891 1892 // New in POSIX 1003.1b-1993. 1893 1894 // - 1895 // SPDX-License-Identifier: BSD-3-Clause 1896 // 1897 // Copyright (c) 1982, 1986, 1993 1898 // The Regents of the University of California. All rights reserved. 1899 // 1900 // Redistribution and use in source and binary forms, with or without 1901 // modification, are permitted provided that the following conditions 1902 // are met: 1903 // 1. Redistributions of source code must retain the above copyright 1904 // notice, this list of conditions and the following disclaimer. 1905 // 2. Redistributions in binary form must reproduce the above copyright 1906 // notice, this list of conditions and the following disclaimer in the 1907 // documentation and/or other materials provided with the distribution. 1908 // 3. Neither the name of the University nor the names of its contributors 1909 // may be used to endorse or promote products derived from this software 1910 // without specific prior written permission. 1911 // 1912 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1913 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1914 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1915 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1916 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1917 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1918 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1919 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1920 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1921 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1922 // SUCH DAMAGE. 1923 // 1924 // @(#)time.h 8.5 (Berkeley) 5/4/95 1925 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp 1926 // $FreeBSD$ 1927 1928 type Tm = struct { 1929 Ftm_sec int32 1930 Ftm_min int32 1931 Ftm_hour int32 1932 Ftm_mday int32 1933 Ftm_mon int32 1934 Ftm_year int32 1935 Ftm_wday int32 1936 Ftm_yday int32 1937 Ftm_isdst int32 1938 Ftm_gmtoff int32 1939 Ftm_zone uintptr 1940 } /* time.h:101:1 */ 1941 1942 // - 1943 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 1944 // 1945 // Copyright (c) 2011, 2012 The FreeBSD Foundation 1946 // 1947 // This software was developed by David Chisnall under sponsorship from 1948 // the FreeBSD Foundation. 1949 // 1950 // Redistribution and use in source and binary forms, with or without 1951 // modification, are permitted provided that the following conditions 1952 // are met: 1953 // 1. Redistributions of source code must retain the above copyright 1954 // notice, this list of conditions and the following disclaimer. 1955 // 2. Redistributions in binary form must reproduce the above copyright 1956 // notice, this list of conditions and the following disclaimer in the 1957 // documentation and/or other materials provided with the distribution. 1958 // 1959 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1960 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1961 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1962 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1963 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1964 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1965 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1966 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1967 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1968 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1969 // SUCH DAMAGE. 1970 // 1971 // $FreeBSD$ 1972 1973 type Locale_t = uintptr /* _time.h:35:25 */ 1974 1975 type X_pthread_cleanup_info = struct{ Fpthread_cleanup_pad [8]X__uintptr_t } /* pthread.h:143:1 */ 1976 1977 var _ int8 /* gen.c:2:13: */