gtsocial-umbx

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

pwd_darwin_amd64.go (53495B)


      1 // Code generated by 'ccgo pwd/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 pwd/pwd_darwin_amd64.go -pkgname pwd', DO NOT EDIT.
      2 
      3 package pwd
      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 	X_BSD_I386__TYPES_H_                   = 0                    // _types.h:29:1:
     19 	X_BSD_MACHINE__TYPES_H_                = 0                    // _types.h:29:1:
     20 	X_CDEFS_H_                             = 0                    // cdefs.h:68:1:
     21 	X_DARWIN_FEATURE_64_BIT_INODE          = 1                    // cdefs.h:745:1:
     22 	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1                    // cdefs.h:771:1:
     23 	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3                    // cdefs.h:779:1:
     24 	X_FILE_OFFSET_BITS                     = 64                   // <builtin>:25:1:
     25 	X_FORTIFY_SOURCE                       = 2                    // _types.h:65:1:
     26 	X_GID_T                                = 0                    // _gid_t.h:29:1:
     27 	X_LP64                                 = 1                    // <predefined>:1:1:
     28 	X_MASTERPASSWD                         = "master.passwd"      // pwd.h:57:1:
     29 	X_MP_DB                                = "pwd.db"             // pwd.h:60:1:
     30 	X_Nonnull                              = 0                    // cdefs.h:243:1:
     31 	X_Null_unspecified                     = 0                    // cdefs.h:246:1:
     32 	X_Nullable                             = 0                    // cdefs.h:240:1:
     33 	X_PASSWD                               = "passwd"             // pwd.h:54:1:
     34 	X_PASSWORD_CHGNOW                      = -1                   // pwd.h:80:1:
     35 	X_PASSWORD_EFMT1                       = 95                   // pwd.h:70:1:
     36 	X_PASSWORD_LEN                         = 128                  // pwd.h:72:1:
     37 	X_PASSWORD_NOCHG                       = 0x04                 // pwd.h:76:1:
     38 	X_PASSWORD_NOEXP                       = 0x08                 // pwd.h:77:1:
     39 	X_PASSWORD_NOGID                       = 0x02                 // pwd.h:75:1:
     40 	X_PASSWORD_NOUID                       = 0x01                 // pwd.h:74:1:
     41 	X_PASSWORD_WARNDAYS                    = 14                   // pwd.h:79:1:
     42 	X_PATH_MASTERPASSWD                    = "/etc/master.passwd" // pwd.h:55:1:
     43 	X_PATH_MASTERPASSWD_LOCK               = "/etc/ptmp"          // pwd.h:56:1:
     44 	X_PATH_MP_DB                           = "/etc/pwd.db"        // pwd.h:59:1:
     45 	X_PATH_PASSWD                          = "/etc/passwd"        // pwd.h:53:1:
     46 	X_PATH_PWD                             = "/etc"               // pwd.h:52:1:
     47 	X_PATH_PWD_MKDB                        = "/usr/sbin/pwd_mkdb" // pwd.h:64:1:
     48 	X_PATH_SMP_DB                          = "/etc/spwd.db"       // pwd.h:61:1:
     49 	X_PWD_H_                               = 0                    // pwd.h:44:1:
     50 	X_PW_KEYBYNAME                         = 49                   // pwd.h:66:1:
     51 	X_PW_KEYBYNUM                          = 50                   // pwd.h:67:1:
     52 	X_PW_KEYBYUID                          = 51                   // pwd.h:68:1:
     53 	X_SIZE_T                               = 0                    // _size_t.h:29:1:
     54 	X_SMP_DB                               = "spwd.db"            // pwd.h:62:1:
     55 	X_SYS__PTHREAD_TYPES_H_                = 0                    // _pthread_types.h:30:1:
     56 	X_SYS__TYPES_H_                        = 0                    // _types.h:30:1:
     57 	X_UID_T                                = 0                    // _uid_t.h:29:1:
     58 	X_UUID_STRING_T                        = 0                    // uuid.h:42:1:
     59 	X_UUID_T                               = 0                    // _uuid_t.h:29:1:
     60 	X_UUID_UUID_H                          = 0                    // uuid.h:36:1:
     61 )
     62 
     63 type Ptrdiff_t = int64 /* <builtin>:3:26 */
     64 
     65 type Size_t = uint64 /* <builtin>:9:23 */
     66 
     67 type Wchar_t = int32 /* <builtin>:15:24 */
     68 
     69 type X__int128_t = struct {
     70 	Flo int64
     71 	Fhi int64
     72 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
     73 type X__uint128_t = struct {
     74 	Flo uint64
     75 	Fhi uint64
     76 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
     77 
     78 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
     79 type X__float128 = float64        /* <builtin>:47:21 */
     80 
     81 var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
     82 
     83 // -
     84 // Copyright (c) 1989, 1993
     85 //	The Regents of the University of California.  All rights reserved.
     86 // (c) UNIX System Laboratories, Inc.
     87 // All or some portions of this file are derived from material licensed
     88 // to the University of California by American Telephone and Telegraph
     89 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
     90 // the permission of UNIX System Laboratories, Inc.
     91 // Portions Copyright(C) 1995, Jason Downs.  All rights reserved.
     92 //
     93 // Redistribution and use in source and binary forms, with or without
     94 // modification, are permitted provided that the following conditions
     95 // are met:
     96 // 1. Redistributions of source code must retain the above copyright
     97 //    notice, this list of conditions and the following disclaimer.
     98 // 2. Redistributions in binary form must reproduce the above copyright
     99 //    notice, this list of conditions and the following disclaimer in the
    100 //    documentation and/or other materials provided with the distribution.
    101 // 3. All advertising materials mentioning features or use of this software
    102 //    must display the following acknowledgement:
    103 //	This product includes software developed by the University of
    104 //	California, Berkeley and its contributors.
    105 // 4. Neither the name of the University nor the names of its contributors
    106 //    may be used to endorse or promote products derived from this software
    107 //    without specific prior written permission.
    108 //
    109 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    110 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    111 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    112 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    113 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    114 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    115 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    116 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    117 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    118 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    119 // SUCH DAMAGE.
    120 //
    121 //	@(#)pwd.h	8.2 (Berkeley) 1/21/94
    122 // Portions copyright (c) 2000-2011 Apple Inc. All rights reserved.
    123 
    124 // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
    125 //
    126 // @APPLE_LICENSE_HEADER_START@
    127 //
    128 // This file contains Original Code and/or Modifications of Original Code
    129 // as defined in and that are subject to the Apple Public Source License
    130 // Version 2.0 (the 'License'). You may not use this file except in
    131 // compliance with the License. Please obtain a copy of the License at
    132 // http://www.opensource.apple.com/apsl/ and read it before using this
    133 // file.
    134 //
    135 // The Original Code and all software distributed under the License are
    136 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    137 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    138 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    139 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    140 // Please see the License for the specific language governing rights and
    141 // limitations under the License.
    142 //
    143 // @APPLE_LICENSE_HEADER_END@
    144 
    145 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    146 //
    147 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    148 //
    149 // This file contains Original Code and/or Modifications of Original Code
    150 // as defined in and that are subject to the Apple Public Source License
    151 // Version 2.0 (the 'License'). You may not use this file except in
    152 // compliance with the License. The rights granted to you under the License
    153 // may not be used to create, or enable the creation or redistribution of,
    154 // unlawful or unlicensed copies of an Apple operating system, or to
    155 // circumvent, violate, or enable the circumvention or violation of, any
    156 // terms of an Apple operating system software license agreement.
    157 //
    158 // Please obtain a copy of the License at
    159 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    160 //
    161 // The Original Code and all software distributed under the License are
    162 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    163 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    164 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    165 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    166 // Please see the License for the specific language governing rights and
    167 // limitations under the License.
    168 //
    169 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    170 
    171 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
    172 //
    173 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    174 //
    175 // This file contains Original Code and/or Modifications of Original Code
    176 // as defined in and that are subject to the Apple Public Source License
    177 // Version 2.0 (the 'License'). You may not use this file except in
    178 // compliance with the License. The rights granted to you under the License
    179 // may not be used to create, or enable the creation or redistribution of,
    180 // unlawful or unlicensed copies of an Apple operating system, or to
    181 // circumvent, violate, or enable the circumvention or violation of, any
    182 // terms of an Apple operating system software license agreement.
    183 //
    184 // Please obtain a copy of the License at
    185 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    186 //
    187 // The Original Code and all software distributed under the License are
    188 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    189 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    190 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    191 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    192 // Please see the License for the specific language governing rights and
    193 // limitations under the License.
    194 //
    195 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    196 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
    197 // Copyright (c) 1991, 1993
    198 //	The Regents of the University of California.  All rights reserved.
    199 //
    200 // This code is derived from software contributed to Berkeley by
    201 // Berkeley Software Design, Inc.
    202 //
    203 // Redistribution and use in source and binary forms, with or without
    204 // modification, are permitted provided that the following conditions
    205 // are met:
    206 // 1. Redistributions of source code must retain the above copyright
    207 //    notice, this list of conditions and the following disclaimer.
    208 // 2. Redistributions in binary form must reproduce the above copyright
    209 //    notice, this list of conditions and the following disclaimer in the
    210 //    documentation and/or other materials provided with the distribution.
    211 // 3. All advertising materials mentioning features or use of this software
    212 //    must display the following acknowledgement:
    213 //	This product includes software developed by the University of
    214 //	California, Berkeley and its contributors.
    215 // 4. Neither the name of the University nor the names of its contributors
    216 //    may be used to endorse or promote products derived from this software
    217 //    without specific prior written permission.
    218 //
    219 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    220 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    221 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    222 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    223 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    224 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    225 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    226 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    227 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    228 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    229 // SUCH DAMAGE.
    230 //
    231 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    232 
    233 // This SDK is designed to work with clang and specific versions of
    234 // gcc >= 4.0 with Apple's patch sets
    235 
    236 // Compatibility with compilers and environments that don't support compiler
    237 // feature checking function-like macros.
    238 
    239 // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
    240 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
    241 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
    242 // in between its arguments.  __CONCAT can also concatenate double-quoted
    243 // strings produced by the __STRING macro, but this only works with ANSI C.
    244 
    245 // In non-ANSI C environments, new programs will want ANSI-only C keywords
    246 // deleted from the program and old programs will want them left alone.
    247 // When using a compiler other than gcc, programs using the ANSI C keywords
    248 // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
    249 // When using "gcc -traditional", we assume that this is the intent; if
    250 // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
    251 
    252 // __unused denotes variables and functions that may not be used, preventing
    253 // the compiler from warning about it if not used.
    254 
    255 // __used forces variables and functions to be included even if it appears
    256 // to the compiler that they are not used (and would thust be discarded).
    257 
    258 // __cold marks code used for debugging or that is rarely taken
    259 // and tells the compiler to optimize for size and outline code.
    260 
    261 // __deprecated causes the compiler to produce a warning when encountering
    262 // code using the deprecated functionality.
    263 // __deprecated_msg() does the same, and compilers that support it will print
    264 // a message along with the deprecation warning.
    265 // This may require turning on such warning with the -Wdeprecated flag.
    266 // __deprecated_enum_msg() should be used on enums, and compilers that support
    267 // it will print the deprecation warning.
    268 // __kpi_deprecated() specifically indicates deprecation of kernel programming
    269 // interfaces in Kernel.framework used by KEXTs.
    270 
    271 // __unavailable causes the compiler to error out when encountering
    272 // code using the tagged function of variable.
    273 
    274 // Delete pseudo-keywords wherever they are not available or needed.
    275 
    276 // We use `__restrict' as a way to define the `restrict' type qualifier
    277 // without disturbing older software that is unaware of C99 keywords.
    278 
    279 // Compatibility with compilers and environments that don't support the
    280 // nullability feature.
    281 
    282 // __disable_tail_calls causes the compiler to not perform tail call
    283 // optimization inside the marked function.
    284 
    285 // __not_tail_called causes the compiler to prevent tail call optimization
    286 // on statically bound calls to the function.  It has no effect on indirect
    287 // calls.  Virtual functions, objective-c methods, and functions marked as
    288 // "always_inline" cannot be marked as __not_tail_called.
    289 
    290 // __result_use_check warns callers of a function that not using the function
    291 // return value is a bug, i.e. dismissing malloc() return value results in a
    292 // memory leak.
    293 
    294 // __swift_unavailable causes the compiler to mark a symbol as specifically
    295 // unavailable in Swift, regardless of any other availability in C.
    296 
    297 // __abortlike is the attribute to put on functions like abort() that are
    298 // typically used to mark assertions. These optimize the codegen
    299 // for outlining while still maintaining debugability.
    300 
    301 // Declaring inline functions within headers is error-prone due to differences
    302 // across various versions of the C language and extensions.  __header_inline
    303 // can be used to declare inline functions within system headers.  In cases
    304 // where you want to force inlining instead of letting the compiler make
    305 // the decision, you can use __header_always_inline.
    306 //
    307 // Be aware that using inline for functions which compilers may also provide
    308 // builtins can behave differently under various compilers.  If you intend to
    309 // provide an inline version of such a function, you may want to use a macro
    310 // instead.
    311 //
    312 // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
    313 // support c99 inline in some cases:
    314 // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
    315 
    316 // Compiler-dependent macros that bracket portions of code where the
    317 // "-Wunreachable-code" warning should be ignored. Please use sparingly.
    318 
    319 // Compiler-dependent macros to declare that functions take printf-like
    320 // or scanf-like arguments.  They are null except for versions of gcc
    321 // that are known to support the features properly.  Functions declared
    322 // with these attributes will cause compilation warnings if there is a
    323 // mismatch between the format string and subsequent function parameter
    324 // types.
    325 
    326 // Source compatibility only, ID string not emitted in object file
    327 
    328 // __alloc_size can be used to label function arguments that represent the
    329 // size of memory that the function allocates and returns. The one-argument
    330 // form labels a single argument that gives the allocation size (where the
    331 // arguments are numbered from 1):
    332 //
    333 // void	*malloc(size_t __size) __alloc_size(1);
    334 //
    335 // The two-argument form handles the case where the size is calculated as the
    336 // product of two arguments:
    337 //
    338 // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
    339 
    340 // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
    341 //
    342 // DEFAULT	By default newly complied code will get POSIX APIs plus
    343 //		Apple API extensions in scope.
    344 //
    345 //		Most users will use this compilation environment to avoid
    346 //		behavioral differences between 32 and 64 bit code.
    347 //
    348 // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
    349 //		API extensions in scope.
    350 //
    351 //		This is generally equivalent to the Tiger release compilation
    352 //		environment, except that it cannot be applied to 64 bit code;
    353 //		its use is discouraged.
    354 //
    355 //		We expect this environment to be deprecated in the future.
    356 //
    357 // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
    358 //		available APIs to exactly the set of APIs defined by the
    359 //		corresponding standard, based on the value defined.
    360 //
    361 //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
    362 //		A correct, portable definition for _XOPEN_SOURCE is 600L.
    363 //
    364 //		Apple API extensions are not visible in this environment,
    365 //		which can cause Apple specific code to fail to compile,
    366 //		or behave incorrectly if prototypes are not in scope or
    367 //		warnings about missing prototypes are not enabled or ignored.
    368 //
    369 // In any compilation environment, for correct symbol resolution to occur,
    370 // function prototypes must be in scope.  It is recommended that all Apple
    371 // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
    372 // compiler flags to their projects to be warned when a function is being
    373 // used without a prototype in scope.
    374 
    375 // These settings are particular to each product.
    376 // Platform: MacOSX
    377 // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
    378 
    379 // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
    380 // legacy code to use the old symbol, thus maintaining binary compatibility
    381 // while new code can use a standards compliant version of the same function.
    382 //
    383 // __DARWIN_ALIAS is used by itself if the function signature has not
    384 // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
    385 // if the signature has changed.  Because the __LP64__ environment
    386 // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
    387 // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
    388 //
    389 // As a special case, when XCode is used to target a specific version of the
    390 // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
    391 // will be defined by the compiler, with the digits representing major version
    392 // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
    393 // pre-10.5, and it is the default compilation environment, revert the
    394 // compilation environment to pre-__DARWIN_UNIX03.
    395 
    396 // symbol suffixes used for symbol versioning
    397 
    398 // symbol versioning macros
    399 
    400 // symbol release macros
    401 // Copyright (c) 2010 Apple Inc. All rights reserved.
    402 //
    403 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    404 //
    405 // This file contains Original Code and/or Modifications of Original Code
    406 // as defined in and that are subject to the Apple Public Source License
    407 // Version 2.0 (the 'License'). You may not use this file except in
    408 // compliance with the License. The rights granted to you under the License
    409 // may not be used to create, or enable the creation or redistribution of,
    410 // unlawful or unlicensed copies of an Apple operating system, or to
    411 // circumvent, violate, or enable the circumvention or violation of, any
    412 // terms of an Apple operating system software license agreement.
    413 //
    414 // Please obtain a copy of the License at
    415 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    416 //
    417 // The Original Code and all software distributed under the License are
    418 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    419 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    420 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    421 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    422 // Please see the License for the specific language governing rights and
    423 // limitations under the License.
    424 //
    425 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    426 
    427 // POSIX.1 requires that the macros we test be defined before any standard
    428 // header file is included.  This permits us to convert values for feature
    429 // testing, as necessary, using only _POSIX_C_SOURCE.
    430 //
    431 // Here's a quick run-down of the versions:
    432 //  defined(_POSIX_SOURCE)		1003.1-1988
    433 //  _POSIX_C_SOURCE == 1L		1003.1-1990
    434 //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
    435 //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
    436 //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
    437 //					and the omnibus ISO/IEC 9945-1: 1996
    438 //  _POSIX_C_SOURCE == 200112L		1003.1-2001
    439 //  _POSIX_C_SOURCE == 200809L		1003.1-2008
    440 //
    441 // In addition, the X/Open Portability Guide, which is now the Single UNIX
    442 // Specification, defines a feature-test macro which indicates the version of
    443 // that specification, and which subsumes _POSIX_C_SOURCE.
    444 
    445 // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
    446 
    447 // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
    448 
    449 // Deal with various X/Open Portability Guides and Single UNIX Spec.
    450 
    451 // Deal with all versions of POSIX.  The ordering relative to the tests above is
    452 // important.
    453 
    454 // POSIX C deprecation macros
    455 // Copyright (c) 2010 Apple Inc. All rights reserved.
    456 //
    457 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    458 //
    459 // This file contains Original Code and/or Modifications of Original Code
    460 // as defined in and that are subject to the Apple Public Source License
    461 // Version 2.0 (the 'License'). You may not use this file except in
    462 // compliance with the License. The rights granted to you under the License
    463 // may not be used to create, or enable the creation or redistribution of,
    464 // unlawful or unlicensed copies of an Apple operating system, or to
    465 // circumvent, violate, or enable the circumvention or violation of, any
    466 // terms of an Apple operating system software license agreement.
    467 //
    468 // Please obtain a copy of the License at
    469 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    470 //
    471 // The Original Code and all software distributed under the License are
    472 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    473 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    474 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    475 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    476 // Please see the License for the specific language governing rights and
    477 // limitations under the License.
    478 //
    479 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    480 
    481 // Set a single macro which will always be defined and can be used to determine
    482 // the appropriate namespace.  For POSIX, these values will correspond to
    483 // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
    484 // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
    485 
    486 // If the developer has neither requested a strict language mode nor a version
    487 // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
    488 // of __DARWIN_C_FULL.
    489 
    490 // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
    491 // c99 still want long longs.  While not perfect, we allow long longs for
    492 // g++.
    493 
    494 // ****************************************
    495 //
    496 //  Public darwin-specific feature macros
    497 //
    498 
    499 // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
    500 // structures modified for 64-bit inodes (like struct stat) will be used.
    501 
    502 // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
    503 // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
    504 // (and non-zero).  There is no struct stat64 either, as the regular
    505 // struct stat will already be the 64-bit version.
    506 
    507 // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
    508 // in 10.5 exists; no pre-10.5 variants are available.
    509 
    510 // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
    511 // are available (the legacy BSD APIs are not available)
    512 
    513 // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
    514 // and specifies the conformance level (3 is SUSv3)
    515 
    516 // This macro casts away the qualifier from the variable
    517 //
    518 // Note: use at your own risk, removing qualifiers can result in
    519 // catastrophic run-time failures.
    520 
    521 // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
    522 // used from other compilation units, but not other libraries or executables.
    523 
    524 // Architecture validation for current SDK
    525 
    526 // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
    527 //
    528 // This provides more advanced type checking on compilers supporting
    529 // the proper extensions, even in C.
    530 
    531 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    532 //
    533 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    534 //
    535 // This file contains Original Code and/or Modifications of Original Code
    536 // as defined in and that are subject to the Apple Public Source License
    537 // Version 2.0 (the 'License'). You may not use this file except in
    538 // compliance with the License. The rights granted to you under the License
    539 // may not be used to create, or enable the creation or redistribution of,
    540 // unlawful or unlicensed copies of an Apple operating system, or to
    541 // circumvent, violate, or enable the circumvention or violation of, any
    542 // terms of an Apple operating system software license agreement.
    543 //
    544 // Please obtain a copy of the License at
    545 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    546 //
    547 // The Original Code and all software distributed under the License are
    548 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    549 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    550 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    551 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    552 // Please see the License for the specific language governing rights and
    553 // limitations under the License.
    554 //
    555 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    556 
    557 // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
    558 //
    559 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    560 //
    561 // This file contains Original Code and/or Modifications of Original Code
    562 // as defined in and that are subject to the Apple Public Source License
    563 // Version 2.0 (the 'License'). You may not use this file except in
    564 // compliance with the License. The rights granted to you under the License
    565 // may not be used to create, or enable the creation or redistribution of,
    566 // unlawful or unlicensed copies of an Apple operating system, or to
    567 // circumvent, violate, or enable the circumvention or violation of, any
    568 // terms of an Apple operating system software license agreement.
    569 //
    570 // Please obtain a copy of the License at
    571 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    572 //
    573 // The Original Code and all software distributed under the License are
    574 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    575 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    576 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    577 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    578 // Please see the License for the specific language governing rights and
    579 // limitations under the License.
    580 //
    581 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    582 
    583 // This header file contains integer types.  It's intended to also contain
    584 // flotaing point and other arithmetic types, as needed, later.
    585 
    586 type X__int8_t = int8     /* _types.h:37:33 */
    587 type X__uint8_t = uint8   /* _types.h:41:33 */
    588 type X__int16_t = int16   /* _types.h:42:33 */
    589 type X__uint16_t = uint16 /* _types.h:43:33 */
    590 type X__int32_t = int32   /* _types.h:44:33 */
    591 type X__uint32_t = uint32 /* _types.h:45:33 */
    592 type X__int64_t = int64   /* _types.h:46:33 */
    593 type X__uint64_t = uint64 /* _types.h:47:33 */
    594 
    595 type X__darwin_intptr_t = int64   /* _types.h:49:33 */
    596 type X__darwin_natural_t = uint32 /* _types.h:50:33 */
    597 
    598 // The rune type below is declared to be an ``int'' instead of the more natural
    599 // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
    600 // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
    601 // it looks like 10646 will be a 31 bit standard.  This means that if your
    602 // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
    603 // chosen over a long is that the is*() and to*() routines take ints (says
    604 // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
    605 // here, you lose a bit of ANSI conformance, but your programs will still
    606 // work.
    607 //
    608 // NOTE: rune_t is not covered by ANSI nor other standards, and should not
    609 // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
    610 // rune_t must be the same type.  Also wint_t must be no narrower than
    611 // wchar_t, and should also be able to hold all members of the largest
    612 // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
    613 
    614 type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
    615 
    616 // mbstate_t is an opaque object to keep conversion state, during multibyte
    617 // stream conversions.  The content must not be referenced by user programs.
    618 type X__mbstate_t = struct {
    619 	F__ccgo_pad1 [0]uint64
    620 	F__mbstate8  [128]int8
    621 } /* _types.h:79:3 */
    622 
    623 type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
    624 
    625 type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
    626 
    627 type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
    628 
    629 type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
    630 
    631 type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
    632 
    633 type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
    634 
    635 type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
    636 
    637 type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
    638 type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
    639 type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
    640 type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
    641 
    642 // Type definitions; takes common type definitions that must be used
    643 // in multiple header files due to [XSI], removes them from the system
    644 // space, and puts them in the implementation space.
    645 
    646 type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
    647 type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
    648 type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
    649 type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
    650 type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
    651 type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
    652 type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
    653 type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
    654 type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
    655 type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
    656 type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
    657 type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
    658 type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
    659 type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
    660 type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
    661 type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
    662 type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
    663 type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
    664 type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
    665 type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
    666 
    667 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
    668 //
    669 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    670 //
    671 // This file contains Original Code and/or Modifications of Original Code
    672 // as defined in and that are subject to the Apple Public Source License
    673 // Version 2.0 (the 'License'). You may not use this file except in
    674 // compliance with the License. The rights granted to you under the License
    675 // may not be used to create, or enable the creation or redistribution of,
    676 // unlawful or unlicensed copies of an Apple operating system, or to
    677 // circumvent, violate, or enable the circumvention or violation of, any
    678 // terms of an Apple operating system software license agreement.
    679 //
    680 // Please obtain a copy of the License at
    681 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    682 //
    683 // The Original Code and all software distributed under the License are
    684 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    685 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    686 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    687 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    688 // Please see the License for the specific language governing rights and
    689 // limitations under the License.
    690 //
    691 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    692 
    693 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
    694 //
    695 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    696 //
    697 // This file contains Original Code and/or Modifications of Original Code
    698 // as defined in and that are subject to the Apple Public Source License
    699 // Version 2.0 (the 'License'). You may not use this file except in
    700 // compliance with the License. The rights granted to you under the License
    701 // may not be used to create, or enable the creation or redistribution of,
    702 // unlawful or unlicensed copies of an Apple operating system, or to
    703 // circumvent, violate, or enable the circumvention or violation of, any
    704 // terms of an Apple operating system software license agreement.
    705 //
    706 // Please obtain a copy of the License at
    707 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    708 //
    709 // The Original Code and all software distributed under the License are
    710 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    711 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    712 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    713 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    714 // Please see the License for the specific language governing rights and
    715 // limitations under the License.
    716 //
    717 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    718 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
    719 // Copyright (c) 1991, 1993
    720 //	The Regents of the University of California.  All rights reserved.
    721 //
    722 // This code is derived from software contributed to Berkeley by
    723 // Berkeley Software Design, Inc.
    724 //
    725 // Redistribution and use in source and binary forms, with or without
    726 // modification, are permitted provided that the following conditions
    727 // are met:
    728 // 1. Redistributions of source code must retain the above copyright
    729 //    notice, this list of conditions and the following disclaimer.
    730 // 2. Redistributions in binary form must reproduce the above copyright
    731 //    notice, this list of conditions and the following disclaimer in the
    732 //    documentation and/or other materials provided with the distribution.
    733 // 3. All advertising materials mentioning features or use of this software
    734 //    must display the following acknowledgement:
    735 //	This product includes software developed by the University of
    736 //	California, Berkeley and its contributors.
    737 // 4. Neither the name of the University nor the names of its contributors
    738 //    may be used to endorse or promote products derived from this software
    739 //    without specific prior written permission.
    740 //
    741 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    742 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    743 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    744 // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    745 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    746 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    747 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    748 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    749 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    750 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    751 // SUCH DAMAGE.
    752 //
    753 //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
    754 
    755 // pthread opaque structures
    756 
    757 type X__darwin_pthread_handler_rec = struct {
    758 	F__routine uintptr
    759 	F__arg     uintptr
    760 	F__next    uintptr
    761 } /* _pthread_types.h:57:1 */
    762 
    763 type X_opaque_pthread_attr_t = struct {
    764 	F__sig    int64
    765 	F__opaque [56]int8
    766 } /* _pthread_types.h:63:1 */
    767 
    768 type X_opaque_pthread_cond_t = struct {
    769 	F__sig    int64
    770 	F__opaque [40]int8
    771 } /* _pthread_types.h:68:1 */
    772 
    773 type X_opaque_pthread_condattr_t = struct {
    774 	F__sig    int64
    775 	F__opaque [8]int8
    776 } /* _pthread_types.h:73:1 */
    777 
    778 type X_opaque_pthread_mutex_t = struct {
    779 	F__sig    int64
    780 	F__opaque [56]int8
    781 } /* _pthread_types.h:78:1 */
    782 
    783 type X_opaque_pthread_mutexattr_t = struct {
    784 	F__sig    int64
    785 	F__opaque [8]int8
    786 } /* _pthread_types.h:83:1 */
    787 
    788 type X_opaque_pthread_once_t = struct {
    789 	F__sig    int64
    790 	F__opaque [8]int8
    791 } /* _pthread_types.h:88:1 */
    792 
    793 type X_opaque_pthread_rwlock_t = struct {
    794 	F__sig    int64
    795 	F__opaque [192]int8
    796 } /* _pthread_types.h:93:1 */
    797 
    798 type X_opaque_pthread_rwlockattr_t = struct {
    799 	F__sig    int64
    800 	F__opaque [16]int8
    801 } /* _pthread_types.h:98:1 */
    802 
    803 type X_opaque_pthread_t = struct {
    804 	F__sig           int64
    805 	F__cleanup_stack uintptr
    806 	F__opaque        [8176]int8
    807 } /* _pthread_types.h:103:1 */
    808 
    809 type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
    810 type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
    811 type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
    812 type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
    813 type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
    814 type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
    815 type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
    816 type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
    817 type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
    818 type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
    819 
    820 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    821 //
    822 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    823 //
    824 // This file contains Original Code and/or Modifications of Original Code
    825 // as defined in and that are subject to the Apple Public Source License
    826 // Version 2.0 (the 'License'). You may not use this file except in
    827 // compliance with the License. The rights granted to you under the License
    828 // may not be used to create, or enable the creation or redistribution of,
    829 // unlawful or unlicensed copies of an Apple operating system, or to
    830 // circumvent, violate, or enable the circumvention or violation of, any
    831 // terms of an Apple operating system software license agreement.
    832 //
    833 // Please obtain a copy of the License at
    834 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    835 //
    836 // The Original Code and all software distributed under the License are
    837 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    838 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    839 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    840 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    841 // Please see the License for the specific language governing rights and
    842 // limitations under the License.
    843 //
    844 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    845 
    846 type X__darwin_nl_item = int32        /* _types.h:40:14 */
    847 type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
    848 type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
    849 
    850 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
    851 //
    852 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    853 //
    854 // This file contains Original Code and/or Modifications of Original Code
    855 // as defined in and that are subject to the Apple Public Source License
    856 // Version 2.0 (the 'License'). You may not use this file except in
    857 // compliance with the License. The rights granted to you under the License
    858 // may not be used to create, or enable the creation or redistribution of,
    859 // unlawful or unlicensed copies of an Apple operating system, or to
    860 // circumvent, violate, or enable the circumvention or violation of, any
    861 // terms of an Apple operating system software license agreement.
    862 //
    863 // Please obtain a copy of the License at
    864 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    865 //
    866 // The Original Code and all software distributed under the License are
    867 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    868 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    869 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    870 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    871 // Please see the License for the specific language governing rights and
    872 // limitations under the License.
    873 //
    874 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    875 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    876 //
    877 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    878 //
    879 // This file contains Original Code and/or Modifications of Original Code
    880 // as defined in and that are subject to the Apple Public Source License
    881 // Version 2.0 (the 'License'). You may not use this file except in
    882 // compliance with the License. The rights granted to you under the License
    883 // may not be used to create, or enable the creation or redistribution of,
    884 // unlawful or unlicensed copies of an Apple operating system, or to
    885 // circumvent, violate, or enable the circumvention or violation of, any
    886 // terms of an Apple operating system software license agreement.
    887 //
    888 // Please obtain a copy of the License at
    889 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    890 //
    891 // The Original Code and all software distributed under the License are
    892 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    893 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    894 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    895 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    896 // Please see the License for the specific language governing rights and
    897 // limitations under the License.
    898 //
    899 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    900 
    901 type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
    902 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
    903 //
    904 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    905 //
    906 // This file contains Original Code and/or Modifications of Original Code
    907 // as defined in and that are subject to the Apple Public Source License
    908 // Version 2.0 (the 'License'). You may not use this file except in
    909 // compliance with the License. The rights granted to you under the License
    910 // may not be used to create, or enable the creation or redistribution of,
    911 // unlawful or unlicensed copies of an Apple operating system, or to
    912 // circumvent, violate, or enable the circumvention or violation of, any
    913 // terms of an Apple operating system software license agreement.
    914 //
    915 // Please obtain a copy of the License at
    916 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    917 //
    918 // The Original Code and all software distributed under the License are
    919 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    920 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    921 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    922 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    923 // Please see the License for the specific language governing rights and
    924 // limitations under the License.
    925 //
    926 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    927 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
    928 //
    929 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
    930 //
    931 // This file contains Original Code and/or Modifications of Original Code
    932 // as defined in and that are subject to the Apple Public Source License
    933 // Version 2.0 (the 'License'). You may not use this file except in
    934 // compliance with the License. The rights granted to you under the License
    935 // may not be used to create, or enable the creation or redistribution of,
    936 // unlawful or unlicensed copies of an Apple operating system, or to
    937 // circumvent, violate, or enable the circumvention or violation of, any
    938 // terms of an Apple operating system software license agreement.
    939 //
    940 // Please obtain a copy of the License at
    941 // http://www.opensource.apple.com/apsl/ and read it before using this file.
    942 //
    943 // The Original Code and all software distributed under the License are
    944 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
    945 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
    946 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
    947 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
    948 // Please see the License for the specific language governing rights and
    949 // limitations under the License.
    950 //
    951 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
    952 
    953 type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
    954 
    955 type Passwd = struct {
    956 	Fpw_name   uintptr
    957 	Fpw_passwd uintptr
    958 	Fpw_uid    Uid_t
    959 	Fpw_gid    Gid_t
    960 	Fpw_change X__darwin_time_t
    961 	Fpw_class  uintptr
    962 	Fpw_gecos  uintptr
    963 	Fpw_dir    uintptr
    964 	Fpw_shell  uintptr
    965 	Fpw_expire X__darwin_time_t
    966 } /* pwd.h:84:1 */
    967 
    968 // Public include file for the UUID library
    969 //
    970 // Copyright (C) 1996, 1997, 1998 Theodore Ts'o.
    971 //
    972 // %Begin-Header%
    973 // Redistribution and use in source and binary forms, with or without
    974 // modification, are permitted provided that the following conditions
    975 // are met:
    976 // 1. Redistributions of source code must retain the above copyright
    977 //    notice, and the entire permission notice in its entirety,
    978 //    including the disclaimer of warranties.
    979 // 2. Redistributions in binary form must reproduce the above copyright
    980 //    notice, this list of conditions and the following disclaimer in the
    981 //    documentation and/or other materials provided with the distribution.
    982 // 3. The name of the author may not be used to endorse or promote
    983 //    products derived from this software without specific prior
    984 //    written permission.
    985 //
    986 // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
    987 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    988 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
    989 // WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE
    990 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    991 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    992 // OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    993 // BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    994 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    995 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
    996 // USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
    997 // DAMAGE.
    998 // %End-Header%
    999 
   1000 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   1001 //
   1002 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1003 //
   1004 // This file contains Original Code and/or Modifications of Original Code
   1005 // as defined in and that are subject to the Apple Public Source License
   1006 // Version 2.0 (the 'License'). You may not use this file except in
   1007 // compliance with the License. The rights granted to you under the License
   1008 // may not be used to create, or enable the creation or redistribution of,
   1009 // unlawful or unlicensed copies of an Apple operating system, or to
   1010 // circumvent, violate, or enable the circumvention or violation of, any
   1011 // terms of an Apple operating system software license agreement.
   1012 //
   1013 // Please obtain a copy of the License at
   1014 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1015 //
   1016 // The Original Code and all software distributed under the License are
   1017 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1018 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1019 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1020 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1021 // Please see the License for the specific language governing rights and
   1022 // limitations under the License.
   1023 //
   1024 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1025 
   1026 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
   1027 //
   1028 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1029 //
   1030 // This file contains Original Code and/or Modifications of Original Code
   1031 // as defined in and that are subject to the Apple Public Source License
   1032 // Version 2.0 (the 'License'). You may not use this file except in
   1033 // compliance with the License. The rights granted to you under the License
   1034 // may not be used to create, or enable the creation or redistribution of,
   1035 // unlawful or unlicensed copies of an Apple operating system, or to
   1036 // circumvent, violate, or enable the circumvention or violation of, any
   1037 // terms of an Apple operating system software license agreement.
   1038 //
   1039 // Please obtain a copy of the License at
   1040 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1041 //
   1042 // The Original Code and all software distributed under the License are
   1043 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1044 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1045 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1046 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1047 // Please see the License for the specific language governing rights and
   1048 // limitations under the License.
   1049 //
   1050 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1051 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   1052 //
   1053 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   1054 //
   1055 // This file contains Original Code and/or Modifications of Original Code
   1056 // as defined in and that are subject to the Apple Public Source License
   1057 // Version 2.0 (the 'License'). You may not use this file except in
   1058 // compliance with the License. The rights granted to you under the License
   1059 // may not be used to create, or enable the creation or redistribution of,
   1060 // unlawful or unlicensed copies of an Apple operating system, or to
   1061 // circumvent, violate, or enable the circumvention or violation of, any
   1062 // terms of an Apple operating system software license agreement.
   1063 //
   1064 // Please obtain a copy of the License at
   1065 // http://www.opensource.apple.com/apsl/ and read it before using this file.
   1066 //
   1067 // The Original Code and all software distributed under the License are
   1068 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   1069 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   1070 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   1071 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   1072 // Please see the License for the specific language governing rights and
   1073 // limitations under the License.
   1074 //
   1075 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   1076 
   1077 type Uuid_t = X__darwin_uuid_t /* _uuid_t.h:31:25 */
   1078 
   1079 type Uuid_string_t = X__darwin_uuid_string_t /* uuid.h:43:33 */
   1080 
   1081 var _ int8 /* gen.c:2:13: */