utime_darwin_arm64.go 64 KB

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