grp_darwin_arm64.go 48 KB

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