langinfo_darwin_amd64.go 44 KB

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