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