langinfo_darwin_arm64.go 44 KB

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