grp_linux_arm.go 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  1. // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_arm.go -pkgname grp', DO NOT EDIT.
  2. package grp
  3. import (
  4. "math"
  5. "reflect"
  6. "sync/atomic"
  7. "unsafe"
  8. )
  9. var _ = math.Pi
  10. var _ reflect.Kind
  11. var _ atomic.Value
  12. var _ unsafe.Pointer
  13. const (
  14. NSS_BUFLEN_GROUP = 1024
  15. X_ATFILE_SOURCE = 1
  16. X_BITS_TIME64_H = 1
  17. X_BITS_TYPESIZES_H = 1
  18. X_BITS_TYPES_H = 1
  19. X_BSD_SIZE_T_ = 0
  20. X_BSD_SIZE_T_DEFINED_ = 0
  21. X_DEFAULT_SOURCE = 1
  22. X_FEATURES_H = 1
  23. X_FILE_OFFSET_BITS = 64
  24. X_GCC_SIZE_T = 0
  25. X_GRP_H = 1
  26. X_POSIX_C_SOURCE = 200809
  27. X_POSIX_SOURCE = 1
  28. X_SIZET_ = 0
  29. X_SIZE_T = 0
  30. X_SIZE_T_ = 0
  31. X_SIZE_T_DECLARED = 0
  32. X_SIZE_T_DEFINED = 0
  33. X_SIZE_T_DEFINED_ = 0
  34. X_STDC_PREDEF_H = 1
  35. X_SYS_CDEFS_H = 1
  36. X_SYS_SIZE_T_H = 0
  37. X_T_SIZE = 0
  38. X_T_SIZE_ = 0
  39. Linux = 1
  40. Unix = 1
  41. )
  42. type Ptrdiff_t = int32 /* <builtin>:3:26 */
  43. type Size_t = uint32 /* <builtin>:9:23 */
  44. type Wchar_t = uint32 /* <builtin>:15:24 */
  45. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  46. type X__float128 = float64 /* <builtin>:47:21 */
  47. // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  48. // This file is part of the GNU C Library.
  49. //
  50. // The GNU C Library is free software; you can redistribute it and/or
  51. // modify it under the terms of the GNU Lesser General Public
  52. // License as published by the Free Software Foundation; either
  53. // version 2.1 of the License, or (at your option) any later version.
  54. //
  55. // The GNU C Library is distributed in the hope that it will be useful,
  56. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  57. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  58. // Lesser General Public License for more details.
  59. //
  60. // You should have received a copy of the GNU Lesser General Public
  61. // License along with the GNU C Library; if not, see
  62. // <https://www.gnu.org/licenses/>.
  63. // POSIX Standard: 9.2.1 Group Database Access <grp.h>
  64. // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  65. // This file is part of the GNU C Library.
  66. //
  67. // The GNU C Library is free software; you can redistribute it and/or
  68. // modify it under the terms of the GNU Lesser General Public
  69. // License as published by the Free Software Foundation; either
  70. // version 2.1 of the License, or (at your option) any later version.
  71. //
  72. // The GNU C Library is distributed in the hope that it will be useful,
  73. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  74. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  75. // Lesser General Public License for more details.
  76. //
  77. // You should have received a copy of the GNU Lesser General Public
  78. // License along with the GNU C Library; if not, see
  79. // <https://www.gnu.org/licenses/>.
  80. // These are defined by the user (or the compiler)
  81. // to specify the desired environment:
  82. //
  83. // __STRICT_ANSI__ ISO Standard C.
  84. // _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
  85. // _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
  86. // _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
  87. // __STDC_WANT_LIB_EXT2__
  88. // Extensions to ISO C99 from TR 27431-2:2010.
  89. // __STDC_WANT_IEC_60559_BFP_EXT__
  90. // Extensions to ISO C11 from TS 18661-1:2014.
  91. // __STDC_WANT_IEC_60559_FUNCS_EXT__
  92. // Extensions to ISO C11 from TS 18661-4:2015.
  93. // __STDC_WANT_IEC_60559_TYPES_EXT__
  94. // Extensions to ISO C11 from TS 18661-3:2015.
  95. //
  96. // _POSIX_SOURCE IEEE Std 1003.1.
  97. // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
  98. // if >=199309L, add IEEE Std 1003.1b-1993;
  99. // if >=199506L, add IEEE Std 1003.1c-1995;
  100. // if >=200112L, all of IEEE 1003.1-2004
  101. // if >=200809L, all of IEEE 1003.1-2008
  102. // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if
  103. // Single Unix conformance is wanted, to 600 for the
  104. // sixth revision, to 700 for the seventh revision.
  105. // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
  106. // _LARGEFILE_SOURCE Some more functions for correct standard I/O.
  107. // _LARGEFILE64_SOURCE Additional functionality from LFS for large files.
  108. // _FILE_OFFSET_BITS=N Select default filesystem interface.
  109. // _ATFILE_SOURCE Additional *at interfaces.
  110. // _GNU_SOURCE All of the above, plus GNU extensions.
  111. // _DEFAULT_SOURCE The default set of features (taking precedence over
  112. // __STRICT_ANSI__).
  113. //
  114. // _FORTIFY_SOURCE Add security hardening to many library functions.
  115. // Set to 1 or 2; 2 performs stricter checks than 1.
  116. //
  117. // _REENTRANT, _THREAD_SAFE
  118. // Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
  119. //
  120. // The `-ansi' switch to the GNU C compiler, and standards conformance
  121. // options such as `-std=c99', define __STRICT_ANSI__. If none of
  122. // these are defined, or if _DEFAULT_SOURCE is defined, the default is
  123. // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
  124. // 200809L, as well as enabling miscellaneous functions from BSD and
  125. // SVID. If more than one of these are defined, they accumulate. For
  126. // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
  127. // give you ISO C, 1003.1, and 1003.2, but nothing else.
  128. //
  129. // These are defined by this file and are used by the
  130. // header files to decide what to declare or define:
  131. //
  132. // __GLIBC_USE (F) Define things from feature set F. This is defined
  133. // to 1 or 0; the subsequent macros are either defined
  134. // or undefined, and those tests should be moved to
  135. // __GLIBC_USE.
  136. // __USE_ISOC11 Define ISO C11 things.
  137. // __USE_ISOC99 Define ISO C99 things.
  138. // __USE_ISOC95 Define ISO C90 AMD1 (C95) things.
  139. // __USE_ISOCXX11 Define ISO C++11 things.
  140. // __USE_POSIX Define IEEE Std 1003.1 things.
  141. // __USE_POSIX2 Define IEEE Std 1003.2 things.
  142. // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things.
  143. // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things.
  144. // __USE_XOPEN Define XPG things.
  145. // __USE_XOPEN_EXTENDED Define X/Open Unix things.
  146. // __USE_UNIX98 Define Single Unix V2 things.
  147. // __USE_XOPEN2K Define XPG6 things.
  148. // __USE_XOPEN2KXSI Define XPG6 XSI things.
  149. // __USE_XOPEN2K8 Define XPG7 things.
  150. // __USE_XOPEN2K8XSI Define XPG7 XSI things.
  151. // __USE_LARGEFILE Define correct standard I/O things.
  152. // __USE_LARGEFILE64 Define LFS things with separate names.
  153. // __USE_FILE_OFFSET64 Define 64bit interface as default.
  154. // __USE_MISC Define things from 4.3BSD or System V Unix.
  155. // __USE_ATFILE Define *at interfaces and AT_* constants for them.
  156. // __USE_GNU Define GNU extensions.
  157. // __USE_FORTIFY_LEVEL Additional security measures used, according to level.
  158. //
  159. // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
  160. // defined by this file unconditionally. `__GNU_LIBRARY__' is provided
  161. // only for compatibility. All new code should use the other symbols
  162. // to test for features.
  163. //
  164. // All macros listed above as possibly being defined by this file are
  165. // explicitly undefined if they are not explicitly defined.
  166. // Feature-test macros that are not defined by the user or compiler
  167. // but are implied by the other feature-test macros defined (or by the
  168. // lack of any definitions) are defined by the file.
  169. //
  170. // ISO C feature test macros depend on the definition of the macro
  171. // when an affected header is included, not when the first system
  172. // header is included, and so they are handled in
  173. // <bits/libc-header-start.h>, which does not have a multiple include
  174. // guard. Feature test macros that can be handled from the first
  175. // system header included are handled here.
  176. // Undefine everything, so we get a clean slate.
  177. // Suppress kernel-name space pollution unless user expressedly asks
  178. // for it.
  179. // Convenience macro to test the version of gcc.
  180. // Use like this:
  181. // #if __GNUC_PREREQ (2,8)
  182. // ... code requiring gcc 2.8 or later ...
  183. // #endif
  184. // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
  185. // added in 2.0.
  186. // Similarly for clang. Features added to GCC after version 4.2 may
  187. // or may not also be available in clang, and clang's definitions of
  188. // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such
  189. // features can be queried via __has_extension/__has_feature.
  190. // Whether to use feature set F.
  191. // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
  192. // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not
  193. // issue a warning; the expectation is that the source is being
  194. // transitioned to use the new macro.
  195. // If _GNU_SOURCE was defined by the user, turn on all the other features.
  196. // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
  197. // define _DEFAULT_SOURCE.
  198. // This is to enable the ISO C2X extension.
  199. // This is to enable the ISO C11 extension.
  200. // This is to enable the ISO C99 extension.
  201. // This is to enable the ISO C90 Amendment 1:1995 extension.
  202. // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
  203. // is defined, use POSIX.1-2008 (or another version depending on
  204. // _XOPEN_SOURCE).
  205. // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
  206. // defined in all multithreaded code. GNU libc has not required this
  207. // for many years. We now treat them as compatibility synonyms for
  208. // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
  209. // comprehensive support for multithreaded code. Using them never
  210. // lowers the selected level of POSIX conformance, only raises it.
  211. // The function 'gets' existed in C89, but is impossible to use
  212. // safely. It has been removed from ISO C11 and ISO C++14. Note: for
  213. // compatibility with various implementations of <cstdio>, this test
  214. // must consider only the value of __cplusplus when compiling C++.
  215. // GNU formerly extended the scanf functions with modified format
  216. // specifiers %as, %aS, and %a[...] that allocate a buffer for the
  217. // input using malloc. This extension conflicts with ISO C99, which
  218. // defines %a as a standalone format specifier that reads a floating-
  219. // point number; moreover, POSIX.1-2008 provides the same feature
  220. // using the modifier letter 'm' instead (%ms, %mS, %m[...]).
  221. //
  222. // We now follow C99 unless GNU extensions are active and the compiler
  223. // is specifically in C89 or C++98 mode (strict or not). For
  224. // instance, with GCC, -std=gnu11 will have C99-compliant scanf with
  225. // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
  226. // old extension.
  227. // Get definitions of __STDC_* predefined macros, if the compiler has
  228. // not preincluded this header automatically.
  229. // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  230. // This file is part of the GNU C Library.
  231. //
  232. // The GNU C Library is free software; you can redistribute it and/or
  233. // modify it under the terms of the GNU Lesser General Public
  234. // License as published by the Free Software Foundation; either
  235. // version 2.1 of the License, or (at your option) any later version.
  236. //
  237. // The GNU C Library is distributed in the hope that it will be useful,
  238. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  239. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  240. // Lesser General Public License for more details.
  241. //
  242. // You should have received a copy of the GNU Lesser General Public
  243. // License along with the GNU C Library; if not, see
  244. // <https://www.gnu.org/licenses/>.
  245. // This macro indicates that the installed library is the GNU C Library.
  246. // For historic reasons the value now is 6 and this will stay from now
  247. // on. The use of this variable is deprecated. Use __GLIBC__ and
  248. // __GLIBC_MINOR__ now (see below) when you want to test for a specific
  249. // GNU C library version and use the values in <gnu/lib-names.h> to get
  250. // the sonames of the shared libraries.
  251. // Major and minor version number of the GNU C library package. Use
  252. // these macros to test for features in specific releases.
  253. // This is here only because every header file already includes this one.
  254. // Copyright (C) 1992-2020 Free Software Foundation, Inc.
  255. // This file is part of the GNU C Library.
  256. //
  257. // The GNU C Library is free software; you can redistribute it and/or
  258. // modify it under the terms of the GNU Lesser General Public
  259. // License as published by the Free Software Foundation; either
  260. // version 2.1 of the License, or (at your option) any later version.
  261. //
  262. // The GNU C Library is distributed in the hope that it will be useful,
  263. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  264. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  265. // Lesser General Public License for more details.
  266. //
  267. // You should have received a copy of the GNU Lesser General Public
  268. // License along with the GNU C Library; if not, see
  269. // <https://www.gnu.org/licenses/>.
  270. // We are almost always included from features.h.
  271. // The GNU libc does not support any K&R compilers or the traditional mode
  272. // of ISO C compilers anymore. Check for some of the combinations not
  273. // anymore supported.
  274. // Some user header file might have defined this before.
  275. // All functions, except those with callbacks or those that
  276. // synchronize memory, are leaf functions.
  277. // GCC can always grok prototypes. For C++ programs we add throw()
  278. // to help it optimize the function calls. But this works only with
  279. // gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions
  280. // as non-throwing using a function attribute since programs can use
  281. // the -fexceptions options for C code as well.
  282. // Compilers that are not clang may object to
  283. // #if defined __clang__ && __has_extension(...)
  284. // even though they do not need to evaluate the right-hand side of the &&.
  285. // These two macros are not used in glibc anymore. They are kept here
  286. // only because some other projects expect the macros to be defined.
  287. // For these things, GCC behaves the ANSI way normally,
  288. // and the non-ANSI way under -traditional.
  289. // This is not a typedef so `const __ptr_t' does the right thing.
  290. // C++ needs to know that types and declarations are C, not C++.
  291. // Fortify support.
  292. // Support for flexible arrays.
  293. // Headers that should use flexible arrays only if they're "real"
  294. // (e.g. only if they won't affect sizeof()) should test
  295. // #if __glibc_c99_flexarr_available.
  296. // __asm__ ("xyz") is used throughout the headers to rename functions
  297. // at the assembly language level. This is wrapped by the __REDIRECT
  298. // macro, in order to support compilers that can do this some other
  299. // way. When compilers don't support asm-names at all, we have to do
  300. // preprocessor tricks instead (which don't have exactly the right
  301. // semantics, but it's the best we can do).
  302. //
  303. // Example:
  304. // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
  305. //
  306. // #elif __SOME_OTHER_COMPILER__
  307. //
  308. // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias)
  309. // GCC has various useful declarations that can be made with the
  310. // `__attribute__' syntax. All of the ways we use this do fine if
  311. // they are omitted for compilers that don't understand it.
  312. // At some point during the gcc 2.96 development the `malloc' attribute
  313. // for functions was introduced. We don't want to use it unconditionally
  314. // (although this would be possible) since it generates warnings.
  315. // Tell the compiler which arguments to an allocation function
  316. // indicate the size of the allocation.
  317. // At some point during the gcc 2.96 development the `pure' attribute
  318. // for functions was introduced. We don't want to use it unconditionally
  319. // (although this would be possible) since it generates warnings.
  320. // This declaration tells the compiler that the value is constant.
  321. // At some point during the gcc 3.1 development the `used' attribute
  322. // for functions was introduced. We don't want to use it unconditionally
  323. // (although this would be possible) since it generates warnings.
  324. // Since version 3.2, gcc allows marking deprecated functions.
  325. // Since version 4.5, gcc also allows one to specify the message printed
  326. // when a deprecated function is used. clang claims to be gcc 4.2, but
  327. // may also support this feature.
  328. // At some point during the gcc 2.8 development the `format_arg' attribute
  329. // for functions was introduced. We don't want to use it unconditionally
  330. // (although this would be possible) since it generates warnings.
  331. // If several `format_arg' attributes are given for the same function, in
  332. // gcc-3.0 and older, all but the last one are ignored. In newer gccs,
  333. // all designated arguments are considered.
  334. // At some point during the gcc 2.97 development the `strfmon' format
  335. // attribute for functions was introduced. We don't want to use it
  336. // unconditionally (although this would be possible) since it
  337. // generates warnings.
  338. // The nonull function attribute allows to mark pointer parameters which
  339. // must not be NULL.
  340. // If fortification mode, we warn about unused results of certain
  341. // function calls which can lead to problems.
  342. // Forces a function to be always inlined.
  343. // The Linux kernel defines __always_inline in stddef.h (283d7573), and
  344. // it conflicts with this definition. Therefore undefine it first to
  345. // allow either header to be included first.
  346. // Associate error messages with the source location of the call site rather
  347. // than with the source location inside the function.
  348. // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
  349. // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__
  350. // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
  351. // older than 4.3 may define these macros and still not guarantee GNU inlining
  352. // semantics.
  353. //
  354. // clang++ identifies itself as gcc-4.2, but has support for GNU inlining
  355. // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
  356. // __GNUC_GNU_INLINE__ macro definitions.
  357. // GCC 4.3 and above allow passing all anonymous arguments of an
  358. // __extern_always_inline function to some other vararg function.
  359. // It is possible to compile containing GCC extensions even if GCC is
  360. // run in pedantic mode if the uses are carefully marked using the
  361. // `__extension__' keyword. But this is not generally available before
  362. // version 2.8.
  363. // __restrict is known in EGCS 1.2 and above.
  364. // ISO C99 also allows to declare arrays as non-overlapping. The syntax is
  365. // array_name[restrict]
  366. // GCC 3.1 supports this.
  367. // Describes a char array whose address can safely be passed as the first
  368. // argument to strncpy and strncat, as the char array is not necessarily
  369. // a NUL-terminated string.
  370. // Undefine (also defined in libc-symbols.h).
  371. // Copies attributes from the declaration or type referenced by
  372. // the argument.
  373. // Copyright (C) 1999-2020 Free Software Foundation, Inc.
  374. // This file is part of the GNU C Library.
  375. //
  376. // The GNU C Library is free software; you can redistribute it and/or
  377. // modify it under the terms of the GNU Lesser General Public
  378. // License as published by the Free Software Foundation; either
  379. // version 2.1 of the License, or (at your option) any later version.
  380. //
  381. // The GNU C Library is distributed in the hope that it will be useful,
  382. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  383. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  384. // Lesser General Public License for more details.
  385. //
  386. // You should have received a copy of the GNU Lesser General Public
  387. // License along with the GNU C Library; if not, see
  388. // <https://www.gnu.org/licenses/>.
  389. // Properties of long double type.
  390. // Copyright (C) 2016-2020 Free Software Foundation, Inc.
  391. // This file is part of the GNU C Library.
  392. //
  393. // The GNU C Library is free software; you can redistribute it and/or
  394. // modify it under the terms of the GNU Lesser General Public
  395. // License published by the Free Software Foundation; either
  396. // version 2.1 of the License, or (at your option) any later version.
  397. //
  398. // The GNU C Library is distributed in the hope that it will be useful,
  399. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  400. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  401. // Lesser General Public License for more details.
  402. //
  403. // You should have received a copy of the GNU Lesser General Public
  404. // License along with the GNU C Library; if not, see
  405. // <https://www.gnu.org/licenses/>.
  406. // This header is included by <sys/cdefs.h>.
  407. //
  408. // If long double is ABI-compatible with double, it should define
  409. // __NO_LONG_DOUBLE_MATH to 1; otherwise, it should leave
  410. // __NO_LONG_DOUBLE_MATH undefined.
  411. //
  412. // If this build of the GNU C Library supports both long double
  413. // ABI-compatible with double and some other long double format not
  414. // ABI-compatible with double, it should define
  415. // __LONG_DOUBLE_MATH_OPTIONAL to 1; otherwise, it should leave
  416. // __LONG_DOUBLE_MATH_OPTIONAL undefined.
  417. //
  418. // If __NO_LONG_DOUBLE_MATH is already defined, this header must not
  419. // define anything; this is needed to work with the definition of
  420. // __NO_LONG_DOUBLE_MATH in nldbl-compat.h.
  421. // In the default version of this header, long double is
  422. // ABI-compatible with double.
  423. // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is
  424. // intended for use in preprocessor macros.
  425. //
  426. // Note: MESSAGE must be a _single_ string; concatenation of string
  427. // literals is not supported.
  428. // Generic selection (ISO C11) is a C-only feature, available in GCC
  429. // since version 4.9. Previous versions do not provide generic
  430. // selection, even though they might set __STDC_VERSION__ to 201112L,
  431. // when in -std=c11 mode. Thus, we must check for !defined __GNUC__
  432. // when testing __STDC_VERSION__ for generic selection support.
  433. // On the other hand, Clang also defines __GNUC__, so a clang-specific
  434. // check is required to enable the use of generic selection.
  435. // If we don't have __REDIRECT, prototypes will be missing if
  436. // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
  437. // Decide whether we can define 'extern inline' functions in headers.
  438. // This is here only because every header file already includes this one.
  439. // Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
  440. // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
  441. // that will always return failure (and set errno to ENOSYS).
  442. // This file is automatically generated.
  443. // This file selects the right generated file of `__stub_FUNCTION' macros
  444. // based on the architecture being compiled for.
  445. // This file is automatically generated.
  446. // It defines a symbol `__stub_FUNCTION' for each function
  447. // in the C library which is a stub, meaning it will fail
  448. // every time called, usually setting errno to ENOSYS.
  449. // bits/types.h -- definitions of __*_t types underlying *_t types.
  450. // Copyright (C) 2002-2020 Free Software Foundation, Inc.
  451. // This file is part of the GNU C Library.
  452. //
  453. // The GNU C Library is free software; you can redistribute it and/or
  454. // modify it under the terms of the GNU Lesser General Public
  455. // License as published by the Free Software Foundation; either
  456. // version 2.1 of the License, or (at your option) any later version.
  457. //
  458. // The GNU C Library is distributed in the hope that it will be useful,
  459. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  460. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  461. // Lesser General Public License for more details.
  462. //
  463. // You should have received a copy of the GNU Lesser General Public
  464. // License along with the GNU C Library; if not, see
  465. // <https://www.gnu.org/licenses/>.
  466. // Never include this file directly; use <sys/types.h> instead.
  467. // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  468. // This file is part of the GNU C Library.
  469. //
  470. // The GNU C Library is free software; you can redistribute it and/or
  471. // modify it under the terms of the GNU Lesser General Public
  472. // License as published by the Free Software Foundation; either
  473. // version 2.1 of the License, or (at your option) any later version.
  474. //
  475. // The GNU C Library is distributed in the hope that it will be useful,
  476. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  477. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  478. // Lesser General Public License for more details.
  479. //
  480. // You should have received a copy of the GNU Lesser General Public
  481. // License along with the GNU C Library; if not, see
  482. // <https://www.gnu.org/licenses/>.
  483. // Copyright (C) 1999-2020 Free Software Foundation, Inc.
  484. // This file is part of the GNU C Library.
  485. //
  486. // The GNU C Library is free software; you can redistribute it and/or
  487. // modify it under the terms of the GNU Lesser General Public
  488. // License as published by the Free Software Foundation; either
  489. // version 2.1 of the License, or (at your option) any later version.
  490. //
  491. // The GNU C Library is distributed in the hope that it will be useful,
  492. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  493. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  494. // Lesser General Public License for more details.
  495. //
  496. // You should have received a copy of the GNU Lesser General Public
  497. // License along with the GNU C Library; if not, see
  498. // <https://www.gnu.org/licenses/>.
  499. // Bit size of the time_t type at glibc build time, general case.
  500. // Copyright (C) 2018-2020 Free Software Foundation, Inc.
  501. // This file is part of the GNU C Library.
  502. //
  503. // The GNU C Library is free software; you can redistribute it and/or
  504. // modify it under the terms of the GNU Lesser General Public
  505. // License as published by the Free Software Foundation; either
  506. // version 2.1 of the License, or (at your option) any later version.
  507. //
  508. // The GNU C Library is distributed in the hope that it will be useful,
  509. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  510. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  511. // Lesser General Public License for more details.
  512. //
  513. // You should have received a copy of the GNU Lesser General Public
  514. // License along with the GNU C Library; if not, see
  515. // <https://www.gnu.org/licenses/>.
  516. // Copyright (C) 1999-2020 Free Software Foundation, Inc.
  517. // This file is part of the GNU C Library.
  518. //
  519. // The GNU C Library is free software; you can redistribute it and/or
  520. // modify it under the terms of the GNU Lesser General Public
  521. // License as published by the Free Software Foundation; either
  522. // version 2.1 of the License, or (at your option) any later version.
  523. //
  524. // The GNU C Library is distributed in the hope that it will be useful,
  525. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  526. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  527. // Lesser General Public License for more details.
  528. //
  529. // You should have received a copy of the GNU Lesser General Public
  530. // License along with the GNU C Library; if not, see
  531. // <https://www.gnu.org/licenses/>.
  532. // Size in bits of the 'time_t' type of the default ABI.
  533. // Convenience types.
  534. type X__u_char = uint8 /* types.h:31:23 */
  535. type X__u_short = uint16 /* types.h:32:28 */
  536. type X__u_int = uint32 /* types.h:33:22 */
  537. type X__u_long = uint32 /* types.h:34:27 */
  538. // Fixed-size types, underlying types depend on word size and compiler.
  539. type X__int8_t = int8 /* types.h:37:21 */
  540. type X__uint8_t = uint8 /* types.h:38:23 */
  541. type X__int16_t = int16 /* types.h:39:26 */
  542. type X__uint16_t = uint16 /* types.h:40:28 */
  543. type X__int32_t = int32 /* types.h:41:20 */
  544. type X__uint32_t = uint32 /* types.h:42:22 */
  545. type X__int64_t = int64 /* types.h:47:44 */
  546. type X__uint64_t = uint64 /* types.h:48:46 */
  547. // Smallest types with at least a given width.
  548. type X__int_least8_t = X__int8_t /* types.h:52:18 */
  549. type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
  550. type X__int_least16_t = X__int16_t /* types.h:54:19 */
  551. type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
  552. type X__int_least32_t = X__int32_t /* types.h:56:19 */
  553. type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
  554. type X__int_least64_t = X__int64_t /* types.h:58:19 */
  555. type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
  556. // quad_t is also 64 bits.
  557. type X__quad_t = int64 /* types.h:66:37 */
  558. type X__u_quad_t = uint64 /* types.h:67:46 */
  559. // Largest integral types.
  560. type X__intmax_t = int64 /* types.h:75:37 */
  561. type X__uintmax_t = uint64 /* types.h:76:46 */
  562. // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
  563. // macros for each of the OS types we define below. The definitions
  564. // of those macros must use the following macros for underlying types.
  565. // We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned
  566. // variants of each of the following integer types on this machine.
  567. //
  568. // 16 -- "natural" 16-bit type (always short)
  569. // 32 -- "natural" 32-bit type (always int)
  570. // 64 -- "natural" 64-bit type (long or long long)
  571. // LONG32 -- 32-bit type, traditionally long
  572. // QUAD -- 64-bit type, traditionally long long
  573. // WORD -- natural type of __WORDSIZE bits (int or long)
  574. // LONGWORD -- type of __WORDSIZE bits, traditionally long
  575. //
  576. // We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the
  577. // conventional uses of `long' or `long long' type modifiers match the
  578. // types we define, even when a less-adorned type would be the same size.
  579. // This matters for (somewhat) portably writing printf/scanf formats for
  580. // these types, where using the appropriate l or ll format modifiers can
  581. // make the typedefs and the formats match up across all GNU platforms. If
  582. // we used `long' when it's 64 bits where `long long' is expected, then the
  583. // compiler would warn about the formats not matching the argument types,
  584. // and the programmer changing them to shut up the compiler would break the
  585. // program's portability.
  586. //
  587. // Here we assume what is presently the case in all the GCC configurations
  588. // we support: long long is always 64 bits, long is always word/address size,
  589. // and int is always 32 bits.
  590. // We want __extension__ before typedef's that use nonstandard base types
  591. // such as `long long' in C89 mode.
  592. // bits/typesizes.h -- underlying types for *_t. Generic version.
  593. // Copyright (C) 2002-2020 Free Software Foundation, Inc.
  594. // This file is part of the GNU C Library.
  595. //
  596. // The GNU C Library is free software; you can redistribute it and/or
  597. // modify it under the terms of the GNU Lesser General Public
  598. // License as published by the Free Software Foundation; either
  599. // version 2.1 of the License, or (at your option) any later version.
  600. //
  601. // The GNU C Library is distributed in the hope that it will be useful,
  602. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  603. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  604. // Lesser General Public License for more details.
  605. //
  606. // You should have received a copy of the GNU Lesser General Public
  607. // License along with the GNU C Library; if not, see
  608. // <https://www.gnu.org/licenses/>.
  609. // See <bits/types.h> for the meaning of these macros. This file exists so
  610. // that <bits/types.h> need not vary across different GNU platforms.
  611. // Number of descriptors that can fit in an `fd_set'.
  612. // bits/time64.h -- underlying types for __time64_t. Generic version.
  613. // Copyright (C) 2018-2020 Free Software Foundation, Inc.
  614. // This file is part of the GNU C Library.
  615. //
  616. // The GNU C Library is free software; you can redistribute it and/or
  617. // modify it under the terms of the GNU Lesser General Public
  618. // License as published by the Free Software Foundation; either
  619. // version 2.1 of the License, or (at your option) any later version.
  620. //
  621. // The GNU C Library is distributed in the hope that it will be useful,
  622. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  623. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  624. // Lesser General Public License for more details.
  625. //
  626. // You should have received a copy of the GNU Lesser General Public
  627. // License along with the GNU C Library; if not, see
  628. // <https://www.gnu.org/licenses/>.
  629. // Define __TIME64_T_TYPE so that it is always a 64-bit type.
  630. // Define a 64-bit time type alongsize the 32-bit one.
  631. type X__dev_t = X__uint64_t /* types.h:145:25 */ // Type of device numbers.
  632. type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
  633. type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
  634. type X__ino_t = uint32 /* types.h:148:25 */ // Type of file serial numbers.
  635. type X__ino64_t = X__uint64_t /* types.h:149:27 */ // Type of file serial numbers (LFS).
  636. type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
  637. type X__nlink_t = uint32 /* types.h:151:27 */ // Type of file link counts.
  638. type X__off_t = int32 /* types.h:152:25 */ // Type of file sizes and offsets.
  639. type X__off64_t = X__int64_t /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
  640. type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
  641. type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
  642. type X__clock_t = int32 /* types.h:156:27 */ // Type of CPU usage counts.
  643. type X__rlim_t = uint32 /* types.h:157:26 */ // Type for resource measurement.
  644. type X__rlim64_t = X__uint64_t /* types.h:158:28 */ // Type for resource measurement (LFS).
  645. type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
  646. type X__time_t = int32 /* types.h:160:26 */ // Seconds since the Epoch.
  647. type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
  648. type X__suseconds_t = int32 /* types.h:162:31 */ // Signed count of microseconds.
  649. type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
  650. type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
  651. // Clock ID used in clock and timer functions.
  652. type X__clockid_t = int32 /* types.h:168:29 */
  653. // Timer ID returned by `timer_create'.
  654. type X__timer_t = uintptr /* types.h:171:12 */
  655. // Type to represent block size.
  656. type X__blksize_t = int32 /* types.h:174:29 */
  657. // Types from the Large File Support interface.
  658. // Type to count number of disk blocks.
  659. type X__blkcnt_t = int32 /* types.h:179:28 */
  660. type X__blkcnt64_t = X__int64_t /* types.h:180:30 */
  661. // Type to count file system blocks.
  662. type X__fsblkcnt_t = uint32 /* types.h:183:30 */
  663. type X__fsblkcnt64_t = X__uint64_t /* types.h:184:32 */
  664. // Type to count file system nodes.
  665. type X__fsfilcnt_t = uint32 /* types.h:187:30 */
  666. type X__fsfilcnt64_t = X__uint64_t /* types.h:188:32 */
  667. // Type of miscellaneous file system fields.
  668. type X__fsword_t = int32 /* types.h:191:28 */
  669. type X__ssize_t = int32 /* types.h:193:27 */ // Type of a byte count, or error.
  670. // Signed long type used in system calls.
  671. type X__syscall_slong_t = int32 /* types.h:196:33 */
  672. // Unsigned long type used in system calls.
  673. type X__syscall_ulong_t = uint32 /* types.h:198:33 */
  674. // These few don't really vary by system, they always correspond
  675. //
  676. // to one of the other defined types.
  677. type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
  678. type X__caddr_t = uintptr /* types.h:203:14 */
  679. // Duplicates info from stdint.h but this is used in unistd.h.
  680. type X__intptr_t = int32 /* types.h:206:25 */
  681. // Duplicate info from sys/socket.h.
  682. type X__socklen_t = uint32 /* types.h:209:23 */
  683. // C99: An integer type that can be accessed as an atomic entity,
  684. //
  685. // even in the presence of asynchronous interrupts.
  686. // It is not currently necessary for this to be machine-specific.
  687. type X__sig_atomic_t = int32 /* types.h:214:13 */
  688. // Seconds since the Epoch, visible to user code when time_t is too
  689. //
  690. // narrow only for consistency with the old way of widening too-narrow
  691. // types. User code should never use __time64_t.
  692. type X__time64_t = X__int64_t /* types.h:222:28 */
  693. // Wide character type.
  694. // Locale-writers should change this as necessary to
  695. // be big enough to hold unique values not between 0 and 127,
  696. // and not (wchar_t) -1, for each defined multibyte character.
  697. // Define this type if we are doing the whole job,
  698. // or if we want this type in particular.
  699. // A null pointer constant.
  700. // For the Single Unix specification we must define this type here.
  701. type Gid_t = X__gid_t /* grp.h:37:17 */
  702. // The group structure.
  703. type Group = struct {
  704. Fgr_name uintptr
  705. Fgr_passwd uintptr
  706. Fgr_gid X__gid_t
  707. Fgr_mem uintptr
  708. } /* grp.h:42:1 */
  709. var _ uint8 /* gen.c:2:13: */