time_freebsd_arm.go (40856B)
1 // Code generated by 'ccgo time/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 time/time_freebsd_arm.go -pkgname time', DO NOT EDIT. 2 3 package time 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 CLK_TCK = 128 // time.h:56:1: 19 CLOCKS_PER_SEC = 128 // time.h:60:1: 20 CLOCK_BOOTTIME = 5 // _clock_id.h:92:1: 21 CLOCK_MONOTONIC = 4 // _clock_id.h:67:1: 22 CLOCK_MONOTONIC_COARSE = 12 // _clock_id.h:94:1: 23 CLOCK_MONOTONIC_FAST = 12 // _clock_id.h:79:1: 24 CLOCK_MONOTONIC_PRECISE = 11 // _clock_id.h:78:1: 25 CLOCK_PROCESS_CPUTIME_ID = 15 // _clock_id.h:85:1: 26 CLOCK_PROF = 2 // _clock_id.h:64:1: 27 CLOCK_REALTIME = 0 // _clock_id.h:60:1: 28 CLOCK_REALTIME_COARSE = 10 // _clock_id.h:93:1: 29 CLOCK_REALTIME_FAST = 10 // _clock_id.h:77:1: 30 CLOCK_REALTIME_PRECISE = 9 // _clock_id.h:76:1: 31 CLOCK_SECOND = 13 // _clock_id.h:80:1: 32 CLOCK_THREAD_CPUTIME_ID = 14 // _clock_id.h:84:1: 33 CLOCK_UPTIME = 5 // _clock_id.h:74:1: 34 CLOCK_UPTIME_FAST = 8 // _clock_id.h:68:1: 35 CLOCK_UPTIME_PRECISE = 7 // _clock_id.h:75:1: 36 CLOCK_VIRTUAL = 1 // _clock_id.h:63:1: 37 TIMER_ABSTIME = 0x1 // _clock_id.h:101:1: 38 TIMER_RELTIME = 0x0 // _clock_id.h:98:1: 39 TIME_UTC = 1 // time.h:188:1: 40 X_CLOCKID_T_DECLARED = 0 // time.h:83:1: 41 X_CLOCK_T_DECLARED = 0 // time.h:64:1: 42 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 43 X_ILP32 = 1 // <predefined>:1:1: 44 X_LOCALE_T_DEFINED = 0 // _time.h:34:1: 45 X_MACHINE__TYPES_H_ = 0 // _types.h:42:1: 46 X_Nonnull = 0 // cdefs.h:790:1: 47 X_Null_unspecified = 0 // cdefs.h:792:1: 48 X_Nullable = 0 // cdefs.h:791:1: 49 X_PID_T_DECLARED = 0 // time.h:97:1: 50 X_SIZE_T_DECLARED = 0 // time.h:74:1: 51 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 52 X_SYS_SYS__CLOCK_ID_H = 0 // _clock_id.h:40:1: 53 X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1: 54 X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1: 55 X_SYS__TYPES_H_ = 0 // _types.h:32:1: 56 X_TIMER_T_DECLARED = 0 // time.h:88:1: 57 X_TIME_H_ = 0 // time.h:44:1: 58 X_TIME_T_DECLARED = 0 // time.h:69:1: 59 X_XLOCALE_LOCALE1_H = 0 // _time.h:44:1: 60 Unix = 1 // <predefined>:367:1: 61 ) 62 63 type Ptrdiff_t = int32 /* <builtin>:3:26 */ 64 65 type Size_t = uint32 /* <builtin>:9:23 */ 66 67 type Wchar_t = uint32 /* <builtin>:15:24 */ 68 69 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 70 type X__float128 = float64 /* <builtin>:47:21 */ 71 72 // - 73 // SPDX-License-Identifier: BSD-3-Clause 74 // 75 // Copyright (c) 1989, 1993 76 // The Regents of the University of California. All rights reserved. 77 // (c) UNIX System Laboratories, Inc. 78 // All or some portions of this file are derived from material licensed 79 // to the University of California by American Telephone and Telegraph 80 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 81 // the permission of UNIX System Laboratories, Inc. 82 // 83 // Redistribution and use in source and binary forms, with or without 84 // modification, are permitted provided that the following conditions 85 // are met: 86 // 1. Redistributions of source code must retain the above copyright 87 // notice, this list of conditions and the following disclaimer. 88 // 2. Redistributions in binary form must reproduce the above copyright 89 // notice, this list of conditions and the following disclaimer in the 90 // documentation and/or other materials provided with the distribution. 91 // 3. Neither the name of the University nor the names of its contributors 92 // may be used to endorse or promote products derived from this software 93 // without specific prior written permission. 94 // 95 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 96 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 97 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 98 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 99 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 100 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 101 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 102 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 103 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 104 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 105 // SUCH DAMAGE. 106 // 107 // @(#)time.h 8.3 (Berkeley) 1/21/94 108 109 // $FreeBSD$ 110 111 // - 112 // SPDX-License-Identifier: BSD-3-Clause 113 // 114 // Copyright (c) 1991, 1993 115 // The Regents of the University of California. All rights reserved. 116 // 117 // This code is derived from software contributed to Berkeley by 118 // Berkeley Software Design, Inc. 119 // 120 // Redistribution and use in source and binary forms, with or without 121 // modification, are permitted provided that the following conditions 122 // are met: 123 // 1. Redistributions of source code must retain the above copyright 124 // notice, this list of conditions and the following disclaimer. 125 // 2. Redistributions in binary form must reproduce the above copyright 126 // notice, this list of conditions and the following disclaimer in the 127 // documentation and/or other materials provided with the distribution. 128 // 3. Neither the name of the University nor the names of its contributors 129 // may be used to endorse or promote products derived from this software 130 // without specific prior written permission. 131 // 132 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 133 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 134 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 135 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 136 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 137 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 138 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 139 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 140 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 141 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 142 // SUCH DAMAGE. 143 // 144 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 145 // $FreeBSD$ 146 147 // Testing against Clang-specific extensions. 148 149 // This code has been put in place to help reduce the addition of 150 // compiler specific defines in FreeBSD code. It helps to aid in 151 // having a compiler-agnostic source tree. 152 153 // Compiler memory barriers, specific to gcc and clang. 154 155 // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced 156 157 // Macro to test if we're using a specific version of gcc or later. 158 159 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 160 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 161 // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI 162 // mode -- there must be no spaces between its arguments, and for nested 163 // __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also 164 // concatenate double-quoted strings produced by the __STRING macro, but 165 // this only works with ANSI C. 166 // 167 // __XSTRING is like __STRING, but it expands any macros in its argument 168 // first. It is only available with ANSI C. 169 170 // Compiler-dependent macros to help declare dead (non-returning) and 171 // pure (no side effects) functions, and unused variables. They are 172 // null except for versions of gcc that are known to support the features 173 // properly (old versions of gcc-2 supported the dead and pure features 174 // in a different (wrong) way). If we do not provide an implementation 175 // for a given compiler, let the compile fail if it is told to use 176 // a feature that we cannot live without. 177 178 // Keywords added in C11. 179 180 // Emulation of C11 _Generic(). Unlike the previously defined C11 181 // keywords, it is not possible to implement this using exactly the same 182 // syntax. Therefore implement something similar under the name 183 // __generic(). Unlike _Generic(), this macro can only distinguish 184 // between a single type, so it requires nested invocations to 185 // distinguish multiple cases. 186 187 // C99 Static array indices in function parameter declarations. Syntax such as: 188 // void bar(int myArray[static 10]); 189 // is allowed in C99 but not in C++. Define __min_size appropriately so 190 // headers using it can be compiled in either language. Use like this: 191 // void bar(int myArray[__min_size(10)]); 192 193 // XXX: should use `#if __STDC_VERSION__ < 199901'. 194 195 // C++11 exposes a load of C99 stuff 196 197 // GCC 2.95 provides `__restrict' as an extension to C90 to support the 198 // C99-specific `restrict' type qualifier. We happen to use `__restrict' as 199 // a way to define the `restrict' type qualifier without disturbing older 200 // software that is unaware of C99 keywords. 201 202 // GNU C version 2.96 adds explicit branch prediction so that 203 // the CPU back-end can hint the processor and also so that 204 // code blocks can be reordered such that the predicted path 205 // sees a more linear flow, thus improving cache behavior, etc. 206 // 207 // The following two macros provide us with a way to utilize this 208 // compiler feature. Use __predict_true() if you expect the expression 209 // to evaluate to true, and __predict_false() if you expect the 210 // expression to evaluate to false. 211 // 212 // A few notes about usage: 213 // 214 // * Generally, __predict_false() error condition checks (unless 215 // you have some _strong_ reason to do otherwise, in which case 216 // document it), and/or __predict_true() `no-error' condition 217 // checks, assuming you want to optimize for the no-error case. 218 // 219 // * Other than that, if you don't know the likelihood of a test 220 // succeeding from empirical or other `hard' evidence, don't 221 // make predictions. 222 // 223 // * These are meant to be used in places that are run `a lot'. 224 // It is wasteful to make predictions in code that is run 225 // seldomly (e.g. at subsystem initialization time) as the 226 // basic block reordering that this affects can often generate 227 // larger code. 228 229 // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> 230 // require it. 231 232 // Given the pointer x to the member m of the struct s, return 233 // a pointer to the containing structure. When using GCC, we first 234 // assign pointer x to a local variable, to check that its type is 235 // compatible with member m. 236 237 // Compiler-dependent macros to declare that functions take printf-like 238 // or scanf-like arguments. They are null except for versions of gcc 239 // that are known to support the features properly (old versions of gcc-2 240 // didn't permit keeping the keywords out of the application namespace). 241 242 // Compiler-dependent macros that rely on FreeBSD-specific extensions. 243 244 // Embed the rcs id of a source file in the resulting library. Note that in 245 // more recent ELF binutils, we use .ident allowing the ID to be stripped. 246 // Usage: 247 // __FBSDID("$FreeBSD$"); 248 249 // - 250 // The following definitions are an extension of the behavior originally 251 // implemented in <sys/_posix.h>, but with a different level of granularity. 252 // POSIX.1 requires that the macros we test be defined before any standard 253 // header file is included. 254 // 255 // Here's a quick run-down of the versions: 256 // defined(_POSIX_SOURCE) 1003.1-1988 257 // _POSIX_C_SOURCE == 1 1003.1-1990 258 // _POSIX_C_SOURCE == 2 1003.2-1992 C Language Binding Option 259 // _POSIX_C_SOURCE == 199309 1003.1b-1993 260 // _POSIX_C_SOURCE == 199506 1003.1c-1995, 1003.1i-1995, 261 // and the omnibus ISO/IEC 9945-1: 1996 262 // _POSIX_C_SOURCE == 200112 1003.1-2001 263 // _POSIX_C_SOURCE == 200809 1003.1-2008 264 // 265 // In addition, the X/Open Portability Guide, which is now the Single UNIX 266 // Specification, defines a feature-test macro which indicates the version of 267 // that specification, and which subsumes _POSIX_C_SOURCE. 268 // 269 // Our macros begin with two underscores to avoid namespace screwage. 270 271 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. 272 273 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. 274 275 // Deal with various X/Open Portability Guides and Single UNIX Spec. 276 277 // Deal with all versions of POSIX. The ordering relative to the tests above is 278 // important. 279 // - 280 // Deal with _ANSI_SOURCE: 281 // If it is defined, and no other compilation environment is explicitly 282 // requested, then define our internal feature-test macros to zero. This 283 // makes no difference to the preprocessor (undefined symbols in preprocessing 284 // expressions are defined to have value zero), but makes it more convenient for 285 // a test program to print out the values. 286 // 287 // If a program mistakenly defines _ANSI_SOURCE and some other macro such as 288 // _POSIX_C_SOURCE, we will assume that it wants the broader compilation 289 // environment (and in fact we will never get here). 290 291 // User override __EXT1_VISIBLE 292 293 // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h 294 // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. 295 296 // Nullability qualifiers: currently only supported by Clang. 297 298 // Type Safety Checking 299 // 300 // Clang provides additional attributes to enable checking type safety 301 // properties that cannot be enforced by the C type system. 302 303 // Lock annotations. 304 // 305 // Clang provides support for doing basic thread-safety tests at 306 // compile-time, by marking which locks will/should be held when 307 // entering/leaving a functions. 308 // 309 // Furthermore, it is also possible to annotate variables and structure 310 // members to enforce that they are only accessed when certain locks are 311 // held. 312 313 // Structure implements a lock. 314 315 // Function acquires an exclusive or shared lock. 316 317 // Function attempts to acquire an exclusive or shared lock. 318 319 // Function releases a lock. 320 321 // Function asserts that an exclusive or shared lock is held. 322 323 // Function requires that an exclusive or shared lock is or is not held. 324 325 // Function should not be analyzed. 326 327 // Function or variable should not be sanitized, e.g., by AddressSanitizer. 328 // GCC has the nosanitize attribute, but as a function attribute only, and 329 // warns on use as a variable attribute. 330 331 // Guard variables and structure members by lock. 332 333 // Alignment builtins for better type checking and improved code generation. 334 // Provide fallback versions for other compilers (GCC/Clang < 10): 335 336 // - 337 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 338 // 339 // Copyright (c) 2003 Marcel Moolenaar 340 // All rights reserved. 341 // 342 // Redistribution and use in source and binary forms, with or without 343 // modification, are permitted provided that the following conditions 344 // are met: 345 // 346 // 1. Redistributions of source code must retain the above copyright 347 // notice, this list of conditions and the following disclaimer. 348 // 2. Redistributions in binary form must reproduce the above copyright 349 // notice, this list of conditions and the following disclaimer in the 350 // documentation and/or other materials provided with the distribution. 351 // 352 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 353 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 354 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 355 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 356 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 357 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 358 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 359 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 360 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 361 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 362 // 363 // $FreeBSD$ 364 365 // - 366 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 367 // 368 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 369 // All rights reserved. 370 // 371 // Redistribution and use in source and binary forms, with or without 372 // modification, are permitted provided that the following conditions 373 // are met: 374 // 1. Redistributions of source code must retain the above copyright 375 // notice, this list of conditions and the following disclaimer. 376 // 2. Redistributions in binary form must reproduce the above copyright 377 // notice, this list of conditions and the following disclaimer in the 378 // documentation and/or other materials provided with the distribution. 379 // 380 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 381 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 382 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 383 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 384 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 385 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 386 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 387 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 388 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 389 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 390 // SUCH DAMAGE. 391 // 392 // $FreeBSD$ 393 394 // - 395 // SPDX-License-Identifier: BSD-3-Clause 396 // 397 // Copyright (c) 1991, 1993 398 // The Regents of the University of California. All rights reserved. 399 // 400 // This code is derived from software contributed to Berkeley by 401 // Berkeley Software Design, Inc. 402 // 403 // Redistribution and use in source and binary forms, with or without 404 // modification, are permitted provided that the following conditions 405 // are met: 406 // 1. Redistributions of source code must retain the above copyright 407 // notice, this list of conditions and the following disclaimer. 408 // 2. Redistributions in binary form must reproduce the above copyright 409 // notice, this list of conditions and the following disclaimer in the 410 // documentation and/or other materials provided with the distribution. 411 // 3. Neither the name of the University nor the names of its contributors 412 // may be used to endorse or promote products derived from this software 413 // without specific prior written permission. 414 // 415 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 416 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 417 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 418 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 419 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 420 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 421 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 422 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 423 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 424 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 425 // SUCH DAMAGE. 426 // 427 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 428 // $FreeBSD$ 429 430 // - 431 // SPDX-License-Identifier: BSD-4-Clause 432 // 433 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 434 // Copyright (c) 1990, 1993 435 // The Regents of the University of California. All rights reserved. 436 // 437 // Redistribution and use in source and binary forms, with or without 438 // modification, are permitted provided that the following conditions 439 // are met: 440 // 1. Redistributions of source code must retain the above copyright 441 // notice, this list of conditions and the following disclaimer. 442 // 2. Redistributions in binary form must reproduce the above copyright 443 // notice, this list of conditions and the following disclaimer in the 444 // documentation and/or other materials provided with the distribution. 445 // 3. All advertising materials mentioning features or use of this software 446 // must display the following acknowledgement: 447 // This product includes software developed by the University of 448 // California, Berkeley and its contributors. 449 // 4. Neither the name of the University nor the names of its contributors 450 // may be used to endorse or promote products derived from this software 451 // without specific prior written permission. 452 // 453 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 454 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 455 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 456 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 457 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 458 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 459 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 460 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 461 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 462 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 463 // SUCH DAMAGE. 464 // 465 // From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 466 // From: @(#)types.h 8.3 (Berkeley) 1/5/94 467 // $FreeBSD$ 468 469 // Basic types upon which most other types are built. 470 type X__int8_t = int8 /* _types.h:51:22 */ 471 type X__uint8_t = uint8 /* _types.h:52:24 */ 472 type X__int16_t = int16 /* _types.h:53:17 */ 473 type X__uint16_t = uint16 /* _types.h:54:25 */ 474 type X__int32_t = int32 /* _types.h:55:15 */ 475 type X__uint32_t = uint32 /* _types.h:56:23 */ 476 477 // LONGLONG 478 type X__int64_t = int64 /* _types.h:61:20 */ 479 480 // LONGLONG 481 type X__uint64_t = uint64 /* _types.h:66:28 */ 482 483 // Standard type definitions. 484 type X__clock_t = X__uint32_t /* _types.h:71:20 */ // clock()... 485 type X__critical_t = X__int32_t /* _types.h:72:19 */ 486 type X__double_t = float64 /* _types.h:74:17 */ 487 type X__float_t = float32 /* _types.h:75:16 */ 488 type X__intfptr_t = X__int32_t /* _types.h:77:19 */ 489 type X__intmax_t = X__int64_t /* _types.h:78:19 */ 490 type X__intptr_t = X__int32_t /* _types.h:79:19 */ 491 type X__int_fast8_t = X__int32_t /* _types.h:80:19 */ 492 type X__int_fast16_t = X__int32_t /* _types.h:81:19 */ 493 type X__int_fast32_t = X__int32_t /* _types.h:82:19 */ 494 type X__int_fast64_t = X__int64_t /* _types.h:83:19 */ 495 type X__int_least8_t = X__int8_t /* _types.h:84:18 */ 496 type X__int_least16_t = X__int16_t /* _types.h:85:19 */ 497 type X__int_least32_t = X__int32_t /* _types.h:86:19 */ 498 type X__int_least64_t = X__int64_t /* _types.h:87:19 */ 499 type X__ptrdiff_t = X__int32_t /* _types.h:88:19 */ // ptr1 - ptr2 500 type X__register_t = X__int32_t /* _types.h:89:19 */ 501 type X__segsz_t = X__int32_t /* _types.h:90:19 */ // segment size (in pages) 502 type X__size_t = X__uint32_t /* _types.h:91:20 */ // sizeof() 503 type X__ssize_t = X__int32_t /* _types.h:92:19 */ // byte count or error 504 type X__time_t = X__int64_t /* _types.h:93:19 */ // time()... 505 type X__uintfptr_t = X__uint32_t /* _types.h:94:20 */ 506 type X__uintmax_t = X__uint64_t /* _types.h:95:20 */ 507 type X__uintptr_t = X__uint32_t /* _types.h:96:20 */ 508 type X__uint_fast8_t = X__uint32_t /* _types.h:97:20 */ 509 type X__uint_fast16_t = X__uint32_t /* _types.h:98:20 */ 510 type X__uint_fast32_t = X__uint32_t /* _types.h:99:20 */ 511 type X__uint_fast64_t = X__uint64_t /* _types.h:100:20 */ 512 type X__uint_least8_t = X__uint8_t /* _types.h:101:19 */ 513 type X__uint_least16_t = X__uint16_t /* _types.h:102:20 */ 514 type X__uint_least32_t = X__uint32_t /* _types.h:103:20 */ 515 type X__uint_least64_t = X__uint64_t /* _types.h:104:20 */ 516 type X__u_register_t = X__uint32_t /* _types.h:105:20 */ 517 type X__vm_offset_t = X__uint32_t /* _types.h:106:20 */ 518 type X__vm_paddr_t = X__uint32_t /* _types.h:107:20 */ 519 type X__vm_size_t = X__uint32_t /* _types.h:108:20 */ 520 521 type X___wchar_t = uint32 /* _types.h:110:22 */ 522 523 // Standard type definitions. 524 type X__blksize_t = X__int32_t /* _types.h:40:19 */ // file block size 525 type X__blkcnt_t = X__int64_t /* _types.h:41:19 */ // file block count 526 type X__clockid_t = X__int32_t /* _types.h:42:19 */ // clock_gettime()... 527 type X__fflags_t = X__uint32_t /* _types.h:43:20 */ // file flags 528 type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ 529 type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ 530 type X__gid_t = X__uint32_t /* _types.h:46:20 */ 531 type X__id_t = X__int64_t /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t 532 type X__ino_t = X__uint64_t /* _types.h:48:20 */ // inode number 533 type X__key_t = int32 /* _types.h:49:15 */ // IPC key (for Sys V IPC) 534 type X__lwpid_t = X__int32_t /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) 535 type X__mode_t = X__uint16_t /* _types.h:51:20 */ // permissions 536 type X__accmode_t = int32 /* _types.h:52:14 */ // access permissions 537 type X__nl_item = int32 /* _types.h:53:14 */ 538 type X__nlink_t = X__uint64_t /* _types.h:54:20 */ // link count 539 type X__off_t = X__int64_t /* _types.h:55:19 */ // file offset 540 type X__off64_t = X__int64_t /* _types.h:56:19 */ // file offset (alias) 541 type X__pid_t = X__int32_t /* _types.h:57:19 */ // process [group] 542 type X__rlim_t = X__int64_t /* _types.h:58:19 */ // resource limit - intentionally 543 // signed, because of legacy code 544 // that uses -1 for RLIM_INFINITY 545 type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ 546 type X__socklen_t = X__uint32_t /* _types.h:62:20 */ 547 type X__suseconds_t = int32 /* _types.h:63:15 */ // microseconds (signed) 548 type X__timer_t = uintptr /* _types.h:64:24 */ // timer_gettime()... 549 type X__mqd_t = uintptr /* _types.h:65:21 */ // mq_open()... 550 type X__uid_t = X__uint32_t /* _types.h:66:20 */ 551 type X__useconds_t = uint32 /* _types.h:67:22 */ // microseconds (unsigned) 552 type X__cpuwhich_t = int32 /* _types.h:68:14 */ // which parameter for cpuset. 553 type X__cpulevel_t = int32 /* _types.h:69:14 */ // level parameter for cpuset. 554 type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier. 555 type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc 556 557 // Unusual type definitions. 558 // rune_t is declared to be an “int” instead of the more natural 559 // “unsigned long” or “long”. Two things are happening here. It is not 560 // unsigned so that EOF (-1) can be naturally assigned to it and used. Also, 561 // it looks like 10646 will be a 31 bit standard. This means that if your 562 // ints cannot hold 32 bits, you will be in trouble. The reason an int was 563 // chosen over a long is that the is*() and to*() routines take ints (says 564 // ANSI C), but they use __ct_rune_t instead of int. 565 // 566 // NOTE: rune_t is not covered by ANSI nor other standards, and should not 567 // be instantiated outside of lib/libc/locale. Use wchar_t. wint_t and 568 // rune_t must be the same type. Also, wint_t should be able to hold all 569 // members of the largest character set plus one extra value (WEOF), and 570 // must be at least 16 bits. 571 type X__ct_rune_t = int32 /* _types.h:91:14 */ // arg type for ctype funcs 572 type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) 573 type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) 574 575 // Clang already provides these types as built-ins, but only in C++ mode. 576 type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ 577 type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ 578 // In C++11, char16_t and char32_t are built-in types. 579 580 type X__max_align_t = struct { 581 F__max_align1 int64 582 F__max_align2 float64 583 } /* _types.h:111:3 */ 584 585 type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number 586 587 type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number 588 589 // mbstate_t is an opaque object to keep conversion state during multibyte 590 // stream conversions. 591 type X__mbstate_t = struct { 592 F__ccgo_pad1 [0]uint64 593 F__mbstate8 [128]uint8 594 } /* _types.h:124:3 */ 595 596 type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ 597 598 // Types for varargs. These are all provided by builtin types these 599 // days, so centralize their definition. 600 type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc 601 type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GNU headers 602 603 // When the following macro is defined, the system uses 64-bit inode numbers. 604 // Programs can use this to avoid including <sys/param.h>, with its associated 605 // namespace pollution. 606 607 // - 608 // SPDX-License-Identifier: BSD-3-Clause 609 // 610 // Copyright (c) 1989, 1993 611 // The Regents of the University of California. All rights reserved. 612 // (c) UNIX System Laboratories, Inc. 613 // All or some portions of this file are derived from material licensed 614 // to the University of California by American Telephone and Telegraph 615 // Co. or Unix System Laboratories, Inc. and are reproduced herein with 616 // the permission of UNIX System Laboratories, Inc. 617 // 618 // Redistribution and use in source and binary forms, with or without 619 // modification, are permitted provided that the following conditions 620 // are met: 621 // 1. Redistributions of source code must retain the above copyright 622 // notice, this list of conditions and the following disclaimer. 623 // 2. Redistributions in binary form must reproduce the above copyright 624 // notice, this list of conditions and the following disclaimer in the 625 // documentation and/or other materials provided with the distribution. 626 // 3. Neither the name of the University nor the names of its contributors 627 // may be used to endorse or promote products derived from this software 628 // without specific prior written permission. 629 // 630 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 631 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 632 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 633 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 634 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 635 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 636 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 637 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 638 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 639 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 640 // SUCH DAMAGE. 641 // 642 // @(#)time.h 8.3 (Berkeley) 1/21/94 643 644 // These macros are shared between time.h and sys/time.h. 645 646 // Note: The values shown below as a comment for the __POSIX_VISIBLE values are 647 // the ones FreeBSD traditionally used based on our reading of the POSIX 648 // standards. However, glibc uses 199309 for all of them, even those many were 649 // not defined there. To remain bug compatible with glibc means more software 650 // that relied on the glibc behavior will compile easily on FreeBSD. 651 // 652 // Also, CLOCK_UPTIME_FAST is improperly visible temporarily for the lang/pocl 653 // port until it can be updated properly. It incorrectly assumes that this was a 654 // standard value. It will be moved back to the __BSD_VISIBLE section once the 655 // issue is corrected. 656 657 // FreeBSD-specific clocks. 658 659 // Linux compatible names. 660 661 // Frequency of the clock ticks reported by times(). Deprecated - use 662 // sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.) 663 664 // Frequency of the clock ticks reported by clock(). 665 666 type Clock_t = X__clock_t /* time.h:63:19 */ 667 668 type Time_t = X__time_t /* time.h:68:18 */ 669 670 // New in POSIX 1003.1b-1993. 671 type Clockid_t = X__clockid_t /* time.h:82:21 */ 672 673 type Timer_t = X__timer_t /* time.h:87:19 */ 674 675 // - 676 // SPDX-License-Identifier: BSD-3-Clause 677 // 678 // Copyright (c) 1982, 1986, 1993 679 // The Regents of the University of California. All rights reserved. 680 // 681 // Redistribution and use in source and binary forms, with or without 682 // modification, are permitted provided that the following conditions 683 // are met: 684 // 1. Redistributions of source code must retain the above copyright 685 // notice, this list of conditions and the following disclaimer. 686 // 2. Redistributions in binary form must reproduce the above copyright 687 // notice, this list of conditions and the following disclaimer in the 688 // documentation and/or other materials provided with the distribution. 689 // 3. Neither the name of the University nor the names of its contributors 690 // may be used to endorse or promote products derived from this software 691 // without specific prior written permission. 692 // 693 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 694 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 695 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 696 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 697 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 698 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 699 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 700 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 701 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 702 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 703 // SUCH DAMAGE. 704 // 705 // @(#)time.h 8.5 (Berkeley) 5/4/95 706 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp 707 // $FreeBSD$ 708 709 // - 710 // SPDX-License-Identifier: BSD-3-Clause 711 // 712 // Copyright (c) 1991, 1993 713 // The Regents of the University of California. All rights reserved. 714 // 715 // This code is derived from software contributed to Berkeley by 716 // Berkeley Software Design, Inc. 717 // 718 // Redistribution and use in source and binary forms, with or without 719 // modification, are permitted provided that the following conditions 720 // are met: 721 // 1. Redistributions of source code must retain the above copyright 722 // notice, this list of conditions and the following disclaimer. 723 // 2. Redistributions in binary form must reproduce the above copyright 724 // notice, this list of conditions and the following disclaimer in the 725 // documentation and/or other materials provided with the distribution. 726 // 3. Neither the name of the University nor the names of its contributors 727 // may be used to endorse or promote products derived from this software 728 // without specific prior written permission. 729 // 730 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 731 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 732 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 733 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 734 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 735 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 736 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 737 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 738 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 739 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 740 // SUCH DAMAGE. 741 // 742 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95 743 // $FreeBSD$ 744 745 // - 746 // SPDX-License-Identifier: BSD-3-Clause 747 // 748 // Copyright (c) 1982, 1986, 1993 749 // The Regents of the University of California. All rights reserved. 750 // 751 // Redistribution and use in source and binary forms, with or without 752 // modification, are permitted provided that the following conditions 753 // are met: 754 // 1. Redistributions of source code must retain the above copyright 755 // notice, this list of conditions and the following disclaimer. 756 // 2. Redistributions in binary form must reproduce the above copyright 757 // notice, this list of conditions and the following disclaimer in the 758 // documentation and/or other materials provided with the distribution. 759 // 3. Neither the name of the University nor the names of its contributors 760 // may be used to endorse or promote products derived from this software 761 // without specific prior written permission. 762 // 763 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 764 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 765 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 766 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 767 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 768 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 769 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 770 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 771 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 772 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 773 // SUCH DAMAGE. 774 // 775 // @(#)time.h 8.5 (Berkeley) 5/4/95 776 // from: FreeBSD: src/sys/sys/time.h,v 1.43 2000/03/20 14:09:05 phk Exp 777 // $FreeBSD$ 778 779 // - 780 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 781 // 782 // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 783 // All rights reserved. 784 // 785 // Redistribution and use in source and binary forms, with or without 786 // modification, are permitted provided that the following conditions 787 // are met: 788 // 1. Redistributions of source code must retain the above copyright 789 // notice, this list of conditions and the following disclaimer. 790 // 2. Redistributions in binary form must reproduce the above copyright 791 // notice, this list of conditions and the following disclaimer in the 792 // documentation and/or other materials provided with the distribution. 793 // 794 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 795 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 796 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 797 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 798 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 799 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 800 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 801 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 802 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 803 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 804 // SUCH DAMAGE. 805 // 806 // $FreeBSD$ 807 808 type Timespec = struct { 809 Ftv_sec Time_t 810 Ftv_nsec int32 811 F__ccgo_pad1 [4]byte 812 } /* _timespec.h:46:1 */ 813 814 // Structure defined by POSIX.1b to be like a itimerval, but with 815 // timespecs. Used in the timer_*() system calls. 816 type Itimerspec = struct { 817 Fit_interval struct { 818 Ftv_sec Time_t 819 Ftv_nsec int32 820 F__ccgo_pad1 [4]byte 821 } 822 Fit_value struct { 823 Ftv_sec Time_t 824 Ftv_nsec int32 825 F__ccgo_pad1 [4]byte 826 } 827 } /* timespec.h:60:1 */ 828 829 type Pid_t = X__pid_t /* time.h:96:18 */ 830 831 type Tm = struct { 832 Ftm_sec int32 833 Ftm_min int32 834 Ftm_hour int32 835 Ftm_mday int32 836 Ftm_mon int32 837 Ftm_year int32 838 Ftm_wday int32 839 Ftm_yday int32 840 Ftm_isdst int32 841 Ftm_gmtoff int32 842 Ftm_zone uintptr 843 } /* time.h:101:1 */ 844 845 // - 846 // SPDX-License-Identifier: BSD-2-Clause-FreeBSD 847 // 848 // Copyright (c) 2011, 2012 The FreeBSD Foundation 849 // 850 // This software was developed by David Chisnall under sponsorship from 851 // the FreeBSD Foundation. 852 // 853 // Redistribution and use in source and binary forms, with or without 854 // modification, are permitted provided that the following conditions 855 // are met: 856 // 1. Redistributions of source code must retain the above copyright 857 // notice, this list of conditions and the following disclaimer. 858 // 2. Redistributions in binary form must reproduce the above copyright 859 // notice, this list of conditions and the following disclaimer in the 860 // documentation and/or other materials provided with the distribution. 861 // 862 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 863 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 864 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 865 // ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 866 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 867 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 868 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 869 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 870 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 871 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 872 // SUCH DAMAGE. 873 // 874 // $FreeBSD$ 875 876 type Locale_t = uintptr /* _time.h:35:25 */ 877 878 var _ uint8 /* gen.c:2:13: */