utime_darwin_amd64.go 66 KB

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