// 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. package pthread import ( "math" "reflect" "sync/atomic" "unsafe" ) var _ = math.Pi var _ reflect.Kind var _ atomic.Value var _ unsafe.Pointer const ( CLK_TCK = 128 // time.h:55:1: CLOCKS_PER_SEC = 128 // time.h:59:1: CLOCK_MONOTONIC = 4 // time.h:109:1: CLOCK_MONOTONIC_FAST = 12 // time.h:116:1: CLOCK_MONOTONIC_PRECISE = 11 // time.h:115:1: CLOCK_PROCESS_CPUTIME_ID = 15 // time.h:119:1: CLOCK_PROF = 2 // time.h:106:1: CLOCK_REALTIME = 0 // time.h:102:1: CLOCK_REALTIME_FAST = 10 // time.h:114:1: CLOCK_REALTIME_PRECISE = 9 // time.h:113:1: CLOCK_SECOND = 13 // time.h:117:1: CLOCK_THREAD_CPUTIME_ID = 14 // time.h:118:1: CLOCK_UPTIME = 5 // time.h:110:1: CLOCK_UPTIME_FAST = 8 // time.h:112:1: CLOCK_UPTIME_PRECISE = 7 // time.h:111:1: CLOCK_VIRTUAL = 1 // time.h:105:1: PTHREAD_BARRIER_SERIAL_THREAD = -1 // pthread.h:58:1: PTHREAD_CANCEL_ASYNCHRONOUS = 2 // pthread.h:85:1: PTHREAD_CANCEL_DEFERRED = 0 // pthread.h:84:1: PTHREAD_CANCEL_DISABLE = 1 // pthread.h:83:1: PTHREAD_CANCEL_ENABLE = 0 // pthread.h:82:1: PTHREAD_CREATE_DETACHED = 1 // pthread.h:68:1: PTHREAD_CREATE_JOINABLE = 0 // pthread.h:69:1: PTHREAD_DESTRUCTOR_ITERATIONS = 4 // pthread.h:54:1: PTHREAD_DETACHED = 0x1 // pthread.h:63:1: PTHREAD_DONE_INIT = 1 // pthread.h:92:1: PTHREAD_EXPLICIT_SCHED = 0 // pthread.h:71:1: PTHREAD_INHERIT_SCHED = 0x4 // pthread.h:65:1: PTHREAD_KEYS_MAX = 256 // pthread.h:55:1: PTHREAD_MUTEX_ROBUST = 1 // pthread.h:141:1: PTHREAD_MUTEX_STALLED = 0 // pthread.h:140:1: PTHREAD_NEEDS_INIT = 0 // pthread.h:91:1: PTHREAD_NOFLOAT = 0x8 // pthread.h:66:1: PTHREAD_PRIO_INHERIT = 1 // pthread.h:117:1: PTHREAD_PRIO_NONE = 0 // pthread.h:116:1: PTHREAD_PRIO_PROTECT = 2 // pthread.h:118:1: PTHREAD_PROCESS_PRIVATE = 0 // pthread.h:76:1: PTHREAD_PROCESS_SHARED = 1 // pthread.h:77:1: PTHREAD_SCOPE_PROCESS = 0 // pthread.h:70:1: PTHREAD_SCOPE_SYSTEM = 0x2 // pthread.h:64:1: PTHREAD_STACK_MIN = 2048 // pthread.h:56:1: PTHREAD_THREADS_MAX = 18446744073709551615 // pthread.h:57:1: SCHED_FIFO = 1 // sched.h:236:1: SCHED_OTHER = 2 // sched.h:237:1: SCHED_RR = 3 // sched.h:238:1: TIMER_ABSTIME = 0x1 // time.h:126:1: TIMER_RELTIME = 0x0 // time.h:123:1: TIME_UTC = 1 // time.h:216:1: X_CLOCKID_T_DECLARED = 0 // time.h:82:1: X_CLOCK_T_DECLARED = 0 // time.h:63:1: X_FILE_OFFSET_BITS = 64 // :25:1: X_LOCALE_T_DEFINED = 0 // _time.h:35:1: X_LP64 = 1 // :1:1: X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1: X_MACHINE__TYPES_H_ = 0 // _types.h:42:1: X_Nonnull = 0 // cdefs.h:783:1: X_Null_unspecified = 0 // cdefs.h:785:1: X_Nullable = 0 // cdefs.h:784:1: X_PID_T_DECLARED = 0 // sched.h:254:1: X_PTHREAD_H_ = 0 // pthread.h:38:1: X_PTHREAD_T_DECLARED = 0 // _pthreadtypes.h:68:1: X_SCHED_H_ = 0 // sched.h:65:1: X_SIG_MAXSIG = 128 // _sigset.h:47:1: X_SIG_WORDS = 4 // _sigset.h:46:1: X_SIZE_T_DECLARED = 0 // time.h:73:1: X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1: X_SYS__PTHREADTYPES_H_ = 0 // _pthreadtypes.h:39:1: X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1: X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1: X_SYS__TYPES_H_ = 0 // _types.h:32:1: X_TIMER_T_DECLARED = 0 // time.h:87:1: X_TIME_H_ = 0 // time.h:44:1: X_TIME_T_DECLARED = 0 // _timespec.h:43:1: X_XLOCALE_LOCALE1_H = 0 // _time.h:45:1: Unix = 1 // :337:1: ) // Run-time invariant values: // Flags for threads and thread attributes. // Values for process shared/private attributes. // Flags for cancelling threads // Flags for once initialization. // Static once initialization values. // Static initialization values. // Default attribute arguments (draft 4, deprecated). // Mutex types (Single UNIX Specification, Version 2, 1997). // // Note that a mutex attribute with one of the following types: // // PTHREAD_MUTEX_NORMAL // PTHREAD_MUTEX_RECURSIVE // // will deviate from POSIX specified semantics. const ( /* pthread.h:130:1: */ PTHREAD_MUTEX_ERRORCHECK = 1 // Default POSIX mutex PTHREAD_MUTEX_RECURSIVE = 2 // Recursive mutex PTHREAD_MUTEX_NORMAL = 3 // No error checking PTHREAD_MUTEX_ADAPTIVE_NP = 4 // Adaptive mutex, spins briefly before blocking on lock PTHREAD_MUTEX_TYPE_MAX = 5 ) type Ptrdiff_t = int64 /* :3:26 */ type Size_t = uint64 /* :9:23 */ type Wchar_t = int32 /* :15:24 */ type X__int128_t = struct { Flo int64 Fhi int64 } /* :21:43 */ // must match modernc.org/mathutil.Int128 type X__uint128_t = struct { Flo uint64 Fhi uint64 } /* :22:44 */ // must match modernc.org/mathutil.Int128 type X__builtin_va_list = uintptr /* :46:14 */ type X__float128 = float64 /* :47:21 */ type Pthread_once = struct { Fstate int32 F__ccgo_pad1 [4]byte Fmutex Pthread_mutex_t } /* _pthreadtypes.h:52:1 */ // Primitive system data type definitions required by P1003.1c. // // Note that P1003.1c specifies that there are no defined comparison // or assignment operators for the types pthread_attr_t, pthread_cond_t, // pthread_condattr_t, pthread_mutex_t, pthread_mutexattr_t. type Pthread_t = uintptr /* _pthreadtypes.h:67:26 */ type Pthread_attr_t = uintptr /* _pthreadtypes.h:70:30 */ type Pthread_mutex_t = uintptr /* _pthreadtypes.h:71:31 */ type Pthread_mutexattr_t = uintptr /* _pthreadtypes.h:72:35 */ type Pthread_cond_t = uintptr /* _pthreadtypes.h:73:30 */ type Pthread_condattr_t = uintptr /* _pthreadtypes.h:74:34 */ type Pthread_key_t = int32 /* _pthreadtypes.h:75:20 */ type Pthread_once_t = Pthread_once /* _pthreadtypes.h:76:30 */ type Pthread_rwlock_t = uintptr /* _pthreadtypes.h:77:32 */ type Pthread_rwlockattr_t = uintptr /* _pthreadtypes.h:78:35 */ type Pthread_barrier_t = uintptr /* _pthreadtypes.h:79:33 */ type Pthread_barrierattr_t = uintptr /* _pthreadtypes.h:80:36 */ type Pthread_spinlock_t = uintptr /* _pthreadtypes.h:81:33 */ // Additional type definitions: // // Note that P1003.1c reserves the prefixes pthread_ and PTHREAD_ for // use in header symbols. type Pthread_addr_t = uintptr /* _pthreadtypes.h:89:14 */ type Pthread_startroutine_t = uintptr /* _pthreadtypes.h:90:14 */ // - // This file is in the public domain. // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1988, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)limits.h 8.3 (Berkeley) 1/4/94 // $FreeBSD$ // According to ANSI (section 2.2.4.2), the values below must be usable by // #if preprocessing directives. Additionally, the expression must have the // same type as would an expression that is an object of the corresponding // type converted according to the integral promotions. The subtraction for // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). // max value for an unsigned long long // Quads and longs are the same on the amd64. Ensure they stay in sync. // Minimum signal stack size. // - // This file is in the public domain. // $FreeBSD$ // - // SPDX-License-Identifier: BSD-4-Clause // // Copyright (c) 2002 Mike Barcroft // Copyright (c) 1990, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. All advertising materials mentioning features or use of this software // must display the following acknowledgement: // This product includes software developed by the University of // California, Berkeley and its contributors. // 4. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 // From: @(#)types.h 8.3 (Berkeley) 1/5/94 // $FreeBSD$ // - // This file is in the public domain. // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1988, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)limits.h 8.3 (Berkeley) 1/4/94 // $FreeBSD$ // Basic types upon which most other types are built. type X__int8_t = int8 /* _types.h:55:22 */ type X__uint8_t = uint8 /* _types.h:56:24 */ type X__int16_t = int16 /* _types.h:57:17 */ type X__uint16_t = uint16 /* _types.h:58:25 */ type X__int32_t = int32 /* _types.h:59:15 */ type X__uint32_t = uint32 /* _types.h:60:23 */ type X__int64_t = int64 /* _types.h:62:16 */ type X__uint64_t = uint64 /* _types.h:63:24 */ // Standard type definitions. type X__clock_t = X__int32_t /* _types.h:75:19 */ // clock()... type X__critical_t = X__int64_t /* _types.h:76:19 */ type X__double_t = float64 /* _types.h:78:17 */ type X__float_t = float32 /* _types.h:79:16 */ type X__intfptr_t = X__int64_t /* _types.h:81:19 */ type X__intptr_t = X__int64_t /* _types.h:82:19 */ type X__intmax_t = X__int64_t /* _types.h:93:19 */ type X__int_fast8_t = X__int32_t /* _types.h:94:19 */ type X__int_fast16_t = X__int32_t /* _types.h:95:19 */ type X__int_fast32_t = X__int32_t /* _types.h:96:19 */ type X__int_fast64_t = X__int64_t /* _types.h:97:19 */ type X__int_least8_t = X__int8_t /* _types.h:98:18 */ type X__int_least16_t = X__int16_t /* _types.h:99:19 */ type X__int_least32_t = X__int32_t /* _types.h:100:19 */ type X__int_least64_t = X__int64_t /* _types.h:101:19 */ type X__ptrdiff_t = X__int64_t /* _types.h:103:19 */ // ptr1 - ptr2 type X__register_t = X__int64_t /* _types.h:104:19 */ type X__segsz_t = X__int64_t /* _types.h:105:19 */ // segment size (in pages) type X__size_t = X__uint64_t /* _types.h:106:20 */ // sizeof() type X__ssize_t = X__int64_t /* _types.h:107:19 */ // byte count or error type X__time_t = X__int64_t /* _types.h:108:19 */ // time()... type X__uintfptr_t = X__uint64_t /* _types.h:109:20 */ type X__uintptr_t = X__uint64_t /* _types.h:110:20 */ type X__uintmax_t = X__uint64_t /* _types.h:121:20 */ type X__uint_fast8_t = X__uint32_t /* _types.h:122:20 */ type X__uint_fast16_t = X__uint32_t /* _types.h:123:20 */ type X__uint_fast32_t = X__uint32_t /* _types.h:124:20 */ type X__uint_fast64_t = X__uint64_t /* _types.h:125:20 */ type X__uint_least8_t = X__uint8_t /* _types.h:126:19 */ type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */ type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */ type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */ type X__u_register_t = X__uint64_t /* _types.h:131:20 */ type X__vm_offset_t = X__uint64_t /* _types.h:132:20 */ type X__vm_paddr_t = X__uint64_t /* _types.h:133:20 */ type X__vm_size_t = X__uint64_t /* _types.h:134:20 */ type X___wchar_t = int32 /* _types.h:141:14 */ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1982, 1986, 1989, 1991, 1993 // The Regents of the University of California. All rights reserved. // (c) UNIX System Laboratories, Inc. // All or some portions of this file are derived from material licensed // to the University of California by American Telephone and Telegraph // Co. or Unix System Laboratories, Inc. and are reproduced herein with // the permission of UNIX System Laboratories, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)signal.h 8.4 (Berkeley) 5/4/95 // $FreeBSD$ // sigset_t macros. type X__sigset = struct{ F__bits [4]X__uint32_t } /* _sigset.h:53:9 */ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1982, 1986, 1989, 1991, 1993 // The Regents of the University of California. All rights reserved. // (c) UNIX System Laboratories, Inc. // All or some portions of this file are derived from material licensed // to the University of California by American Telephone and Telegraph // Co. or Unix System Laboratories, Inc. and are reproduced herein with // the permission of UNIX System Laboratories, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)signal.h 8.4 (Berkeley) 5/4/95 // $FreeBSD$ // sigset_t macros. type X__sigset_t = X__sigset /* _sigset.h:55:3 */ // - // SPDX-License-Identifier: (BSD-4-Clause AND BSD-2-Clause-FreeBSD) // // Copyright (c) 1996, 1997 // HD Associates, Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. All advertising materials mentioning features or use of this software // must display the following acknowledgement: // This product includes software developed by HD Associates, Inc // and Jukka Antero Ukkonen. // 4. Neither the name of the author nor the names of any co-contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY HD ASSOCIATES AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL HD ASSOCIATES OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // - // Copyright (c) 2002-2008, Jeffrey Roberson // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice unmodified, this list of conditions, and the following // disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // $FreeBSD$ // POSIX 1003.1b Process Scheduling // POSIX scheduling policies type Sched_param = struct{ Fsched_priority int32 } /* sched.h:240:1 */ // POSIX scheduling declarations for userland. // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1991, 1993 // The Regents of the University of California. All rights reserved. // // This code is derived from software contributed to Berkeley by // Berkeley Software Design, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1982, 1986, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)time.h 8.5 (Berkeley) 5/4/95 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp // $FreeBSD$ // - // SPDX-License-Identifier: BSD-2-Clause-FreeBSD // // Copyright (c) 2002 Mike Barcroft // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1991, 1993 // The Regents of the University of California. All rights reserved. // // This code is derived from software contributed to Berkeley by // Berkeley Software Design, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 // $FreeBSD$ // - // This file is in the public domain. // $FreeBSD$ // - // SPDX-License-Identifier: BSD-4-Clause // // Copyright (c) 2002 Mike Barcroft // Copyright (c) 1990, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. All advertising materials mentioning features or use of this software // must display the following acknowledgement: // This product includes software developed by the University of // California, Berkeley and its contributors. // 4. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 // From: @(#)types.h 8.3 (Berkeley) 1/5/94 // $FreeBSD$ // Standard type definitions. type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()... type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ type X__gid_t = X__uint32_t /* _types.h:46:20 */ type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number type X__key_t = int64 /* _types.h:49:15 */ // IPC key (for Sys V IPC) type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions type X__nl_item = int32 /* _types.h:53:14 */ type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias) type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group] type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally // signed, because of legacy code // that uses -1 for RLIM_INFINITY type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ type X__socklen_t = X__uint32_t /* _types.h:62:20 */ type X__suseconds_t = int64 /* _types.h:63:15 */ // microseconds (signed) type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()... type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()... type X__uid_t = X__uint32_t /* _types.h:66:20 */ type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned) type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset. type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset. type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier. type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc // Unusual type definitions. // rune_t is declared to be an ``int'' instead of the more natural // ``unsigned long'' or ``long''. Two things are happening here. It is not // unsigned so that EOF (-1) can be naturally assigned to it and used. Also, // it looks like 10646 will be a 31 bit standard. This means that if your // ints cannot hold 32 bits, you will be in trouble. The reason an int was // chosen over a long is that the is*() and to*() routines take ints (says // ANSI C), but they use __ct_rune_t instead of int. // // NOTE: rune_t is not covered by ANSI nor other standards, and should not // be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and // rune_t must be the same type. Also, wint_t should be able to hold all // members of the largest character set plus one extra value (WEOF), and // must be at least 16 bits. type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) // Clang already provides these types as built-ins, but only in C++ mode. type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ // In C++11, char16_t and char32_t are built-in types. type X__max_align_t = struct { F__max_align1 int64 F__max_align2 float64 } /* _types.h:111:3 */ type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number // mbstate_t is an opaque object to keep conversion state during multibyte // stream conversions. type X__mbstate_t = struct { F__ccgo_pad1 [0]uint64 F__mbstate8 [128]int8 } /* _types.h:124:3 */ type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ // Types for varargs. These are all provided by builtin types these // days, so centralize their definition. type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers // When the following macro is defined, the system uses 64-bit inode numbers. // Programs can use this to avoid including , with its associated // namespace pollution. type Time_t = X__time_t /* _timespec.h:42:18 */ type Timespec = struct { Ftv_sec Time_t Ftv_nsec int64 } /* _timespec.h:46:1 */ // - // SPDX-License-Identifier: BSD-2-Clause-FreeBSD // // Copyright (c) 2002 Mike Barcroft // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // $FreeBSD$ type Pid_t = X__pid_t /* sched.h:253:25 */ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1989, 1993 // The Regents of the University of California. All rights reserved. // (c) UNIX System Laboratories, Inc. // All or some portions of this file are derived from material licensed // to the University of California by American Telephone and Telegraph // Co. or Unix System Laboratories, Inc. and are reproduced herein with // the permission of UNIX System Laboratories, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)time.h 8.3 (Berkeley) 1/21/94 // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1991, 1993 // The Regents of the University of California. All rights reserved. // // This code is derived from software contributed to Berkeley by // Berkeley Software Design, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 // $FreeBSD$ // - // SPDX-License-Identifier: BSD-2-Clause-FreeBSD // // Copyright (c) 2003 Marcel Moolenaar // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // $FreeBSD$ // - // SPDX-License-Identifier: BSD-2-Clause-FreeBSD // // Copyright (c) 2002 Mike Barcroft // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // $FreeBSD$ // Frequency of the clock ticks reported by times(). Deprecated - use // sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.) // Frequency of the clock ticks reported by clock(). type Clock_t = X__clock_t /* time.h:62:19 */ // New in POSIX 1003.1b-1993. type Clockid_t = X__clockid_t /* time.h:81:21 */ type Timer_t = X__timer_t /* time.h:86:19 */ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1982, 1986, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)time.h 8.5 (Berkeley) 5/4/95 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1991, 1993 // The Regents of the University of California. All rights reserved. // // This code is derived from software contributed to Berkeley by // Berkeley Software Design, Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 // $FreeBSD$ // - // SPDX-License-Identifier: BSD-3-Clause // // Copyright (c) 1982, 1986, 1993 // The Regents of the University of California. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // 3. Neither the name of the University nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // @(#)time.h 8.5 (Berkeley) 5/4/95 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp // $FreeBSD$ // Structure defined by POSIX.1b to be like a itimerval, but with // timespecs. Used in the timer_*() system calls. type Itimerspec = struct { Fit_interval struct { Ftv_sec Time_t Ftv_nsec int64 } Fit_value struct { Ftv_sec Time_t Ftv_nsec int64 } } /* timespec.h:60:1 */ // These macros are also in sys/time.h. type Tm = struct { Ftm_sec int32 Ftm_min int32 Ftm_hour int32 Ftm_mday int32 Ftm_mon int32 Ftm_year int32 Ftm_wday int32 Ftm_yday int32 Ftm_isdst int32 F__ccgo_pad1 [4]byte Ftm_gmtoff int64 Ftm_zone uintptr } /* time.h:129:1 */ // - // SPDX-License-Identifier: BSD-2-Clause-FreeBSD // // Copyright (c) 2011, 2012 The FreeBSD Foundation // All rights reserved. // // This software was developed by David Chisnall under sponsorship from // the FreeBSD Foundation. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // $FreeBSD$ type Locale_t = uintptr /* _time.h:36:25 */ type X_pthread_cleanup_info = struct{ Fpthread_cleanup_pad [8]X__uintptr_t } /* pthread.h:143:1 */ var _ int8 /* gen.c:2:13: */