grp_darwin_amd64.go 48 KB

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