langinfo_linux_ppc64le.go 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069
  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_linux_ppc64le.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. NL_CAT_LOCALE = 1 // nl_types.h:27:1:
  15. NL_SETD = 1 // nl_types.h:24:1:
  16. X_ARCH_PPC = 1 // <predefined>:198:1:
  17. X_ARCH_PPC64 = 1 // <predefined>:402:1:
  18. X_ARCH_PPCGR = 1 // <predefined>:15:1:
  19. X_ARCH_PPCSQ = 1 // <predefined>:43:1:
  20. X_ARCH_PWR4 = 1 // <predefined>:381:1:
  21. X_ARCH_PWR5 = 1 // <predefined>:90:1:
  22. X_ARCH_PWR5X = 1 // <predefined>:137:1:
  23. X_ARCH_PWR6 = 1 // <predefined>:91:1:
  24. X_ARCH_PWR7 = 1 // <predefined>:92:1:
  25. X_ARCH_PWR8 = 1 // <predefined>:93:1:
  26. X_ATFILE_SOURCE = 1 // features.h:342:1:
  27. X_BITS_LOCALE_H = 1 // locale.h:24:1:
  28. X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1:
  29. X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1:
  30. X_CALL_ELF = 2 // <predefined>:415:1:
  31. X_CALL_LINUX = 1 // <predefined>:123:1:
  32. X_DEFAULT_SOURCE = 1 // features.h:227:1:
  33. X_FEATURES_H = 1 // features.h:19:1:
  34. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  35. X_LANGINFO_H = 1 // langinfo.h:20:1:
  36. X_LITTLE_ENDIAN = 1 // <predefined>:37:1:
  37. X_LP64 = 1 // <predefined>:335:1:
  38. X_NL_TYPES_H = 1 // nl_types.h:19:1:
  39. X_POSIX_C_SOURCE = 200809 // features.h:281:1:
  40. X_POSIX_SOURCE = 1 // features.h:279:1:
  41. X_STDC_PREDEF_H = 1 // <predefined>:203:1:
  42. X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
  43. Linux = 1 // <predefined>:263:1:
  44. Unix = 1 // <predefined>:222:1:
  45. )
  46. // Definition of locale category symbol values.
  47. // Copyright (C) 2001-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. // Construct an `nl_item' value for `nl_langinfo' from a locale category
  64. // (LC_*) and an item index within the category. Some code may depend on
  65. // the item values within a category increasing monotonically with the
  66. // indices.
  67. // Extract the category and item index from a constructed `nl_item' value.
  68. // Enumeration of locale items that can be queried with `nl_langinfo'.
  69. const ( /* langinfo.h:41:1: */
  70. // LC_TIME category: date and time formatting.
  71. // Abbreviated days of the week.
  72. ABDAY_1 = 131072 // Sun
  73. ABDAY_2 = 131073
  74. ABDAY_3 = 131074
  75. ABDAY_4 = 131075
  76. ABDAY_5 = 131076
  77. ABDAY_6 = 131077
  78. ABDAY_7 = 131078
  79. // Long-named days of the week.
  80. DAY_1 = 131079 // Sunday
  81. DAY_2 = 131080 // Monday
  82. DAY_3 = 131081 // Tuesday
  83. DAY_4 = 131082 // Wednesday
  84. DAY_5 = 131083 // Thursday
  85. DAY_6 = 131084 // Friday
  86. DAY_7 = 131085 // Saturday
  87. // Abbreviated month names, in the grammatical form used when the month
  88. // is a part of a complete date.
  89. ABMON_1 = 131086 // Jan
  90. ABMON_2 = 131087
  91. ABMON_3 = 131088
  92. ABMON_4 = 131089
  93. ABMON_5 = 131090
  94. ABMON_6 = 131091
  95. ABMON_7 = 131092
  96. ABMON_8 = 131093
  97. ABMON_9 = 131094
  98. ABMON_10 = 131095
  99. ABMON_11 = 131096
  100. ABMON_12 = 131097
  101. // Long month names, in the grammatical form used when the month
  102. // is a part of a complete date.
  103. MON_1 = 131098 // January
  104. MON_2 = 131099
  105. MON_3 = 131100
  106. MON_4 = 131101
  107. MON_5 = 131102
  108. MON_6 = 131103
  109. MON_7 = 131104
  110. MON_8 = 131105
  111. MON_9 = 131106
  112. MON_10 = 131107
  113. MON_11 = 131108
  114. MON_12 = 131109
  115. AM_STR = 131110 // Ante meridiem string.
  116. PM_STR = 131111 // Post meridiem string.
  117. D_T_FMT = 131112 // Date and time format for strftime.
  118. D_FMT = 131113 // Date format for strftime.
  119. T_FMT = 131114 // Time format for strftime.
  120. T_FMT_AMPM = 131115 // 12-hour time format for strftime.
  121. ERA = 131116 // Alternate era.
  122. X__ERA_YEAR = 131117 // Year in alternate era format.
  123. ERA_D_FMT = 131118 // Date in alternate era format.
  124. ALT_DIGITS = 131119 // Alternate symbols for digits.
  125. ERA_D_T_FMT = 131120 // Date and time in alternate era format.
  126. ERA_T_FMT = 131121 // Time in alternate era format.
  127. X_NL_TIME_ERA_NUM_ENTRIES = 131122 // Number entries in the era arrays.
  128. X_NL_TIME_ERA_ENTRIES = 131123 // Structure with era entries in usable form.
  129. X_NL_WABDAY_1 = 131124 // Sun
  130. X_NL_WABDAY_2 = 131125
  131. X_NL_WABDAY_3 = 131126
  132. X_NL_WABDAY_4 = 131127
  133. X_NL_WABDAY_5 = 131128
  134. X_NL_WABDAY_6 = 131129
  135. X_NL_WABDAY_7 = 131130
  136. // Long-named days of the week.
  137. X_NL_WDAY_1 = 131131 // Sunday
  138. X_NL_WDAY_2 = 131132 // Monday
  139. X_NL_WDAY_3 = 131133 // Tuesday
  140. X_NL_WDAY_4 = 131134 // Wednesday
  141. X_NL_WDAY_5 = 131135 // Thursday
  142. X_NL_WDAY_6 = 131136 // Friday
  143. X_NL_WDAY_7 = 131137 // Saturday
  144. // Abbreviated month names, in the grammatical form used when the month
  145. // is a part of a complete date.
  146. X_NL_WABMON_1 = 131138 // Jan
  147. X_NL_WABMON_2 = 131139
  148. X_NL_WABMON_3 = 131140
  149. X_NL_WABMON_4 = 131141
  150. X_NL_WABMON_5 = 131142
  151. X_NL_WABMON_6 = 131143
  152. X_NL_WABMON_7 = 131144
  153. X_NL_WABMON_8 = 131145
  154. X_NL_WABMON_9 = 131146
  155. X_NL_WABMON_10 = 131147
  156. X_NL_WABMON_11 = 131148
  157. X_NL_WABMON_12 = 131149
  158. // Long month names, in the grammatical form used when the month
  159. // is a part of a complete date.
  160. X_NL_WMON_1 = 131150 // January
  161. X_NL_WMON_2 = 131151
  162. X_NL_WMON_3 = 131152
  163. X_NL_WMON_4 = 131153
  164. X_NL_WMON_5 = 131154
  165. X_NL_WMON_6 = 131155
  166. X_NL_WMON_7 = 131156
  167. X_NL_WMON_8 = 131157
  168. X_NL_WMON_9 = 131158
  169. X_NL_WMON_10 = 131159
  170. X_NL_WMON_11 = 131160
  171. X_NL_WMON_12 = 131161
  172. X_NL_WAM_STR = 131162 // Ante meridiem string.
  173. X_NL_WPM_STR = 131163 // Post meridiem string.
  174. X_NL_WD_T_FMT = 131164 // Date and time format for strftime.
  175. X_NL_WD_FMT = 131165 // Date format for strftime.
  176. X_NL_WT_FMT = 131166 // Time format for strftime.
  177. X_NL_WT_FMT_AMPM = 131167 // 12-hour time format for strftime.
  178. X_NL_WERA_YEAR = 131168 // Year in alternate era format.
  179. X_NL_WERA_D_FMT = 131169 // Date in alternate era format.
  180. X_NL_WALT_DIGITS = 131170 // Alternate symbols for digits.
  181. X_NL_WERA_D_T_FMT = 131171 // Date and time in alternate era format.
  182. X_NL_WERA_T_FMT = 131172 // Time in alternate era format.
  183. X_NL_TIME_WEEK_NDAYS = 131173
  184. X_NL_TIME_WEEK_1STDAY = 131174
  185. X_NL_TIME_WEEK_1STWEEK = 131175
  186. X_NL_TIME_FIRST_WEEKDAY = 131176
  187. X_NL_TIME_FIRST_WORKDAY = 131177
  188. X_NL_TIME_CAL_DIRECTION = 131178
  189. X_NL_TIME_TIMEZONE = 131179
  190. X_DATE_FMT = 131180 // strftime format for date.
  191. X_NL_W_DATE_FMT = 131181
  192. X_NL_TIME_CODESET = 131182
  193. // Long month names, in the grammatical form used when the month
  194. // is named by itself.
  195. X__ALTMON_1 = 131183 // January
  196. X__ALTMON_2 = 131184
  197. X__ALTMON_3 = 131185
  198. X__ALTMON_4 = 131186
  199. X__ALTMON_5 = 131187
  200. X__ALTMON_6 = 131188
  201. X__ALTMON_7 = 131189
  202. X__ALTMON_8 = 131190
  203. X__ALTMON_9 = 131191
  204. X__ALTMON_10 = 131192
  205. X__ALTMON_11 = 131193
  206. X__ALTMON_12 = 131194
  207. // Long month names, in the grammatical form used when the month
  208. // is named by itself.
  209. X_NL_WALTMON_1 = 131195 // January
  210. X_NL_WALTMON_2 = 131196
  211. X_NL_WALTMON_3 = 131197
  212. X_NL_WALTMON_4 = 131198
  213. X_NL_WALTMON_5 = 131199
  214. X_NL_WALTMON_6 = 131200
  215. X_NL_WALTMON_7 = 131201
  216. X_NL_WALTMON_8 = 131202
  217. X_NL_WALTMON_9 = 131203
  218. X_NL_WALTMON_10 = 131204
  219. X_NL_WALTMON_11 = 131205
  220. X_NL_WALTMON_12 = 131206
  221. // Abbreviated month names, in the grammatical form used when the month
  222. // is named by itself.
  223. X_NL_ABALTMON_1 = 131207 // Jan
  224. X_NL_ABALTMON_2 = 131208
  225. X_NL_ABALTMON_3 = 131209
  226. X_NL_ABALTMON_4 = 131210
  227. X_NL_ABALTMON_5 = 131211
  228. X_NL_ABALTMON_6 = 131212
  229. X_NL_ABALTMON_7 = 131213
  230. X_NL_ABALTMON_8 = 131214
  231. X_NL_ABALTMON_9 = 131215
  232. X_NL_ABALTMON_10 = 131216
  233. X_NL_ABALTMON_11 = 131217
  234. X_NL_ABALTMON_12 = 131218
  235. // Abbreviated month names, in the grammatical form used when the month
  236. // is named by itself.
  237. X_NL_WABALTMON_1 = 131219 // Jan
  238. X_NL_WABALTMON_2 = 131220
  239. X_NL_WABALTMON_3 = 131221
  240. X_NL_WABALTMON_4 = 131222
  241. X_NL_WABALTMON_5 = 131223
  242. X_NL_WABALTMON_6 = 131224
  243. X_NL_WABALTMON_7 = 131225
  244. X_NL_WABALTMON_8 = 131226
  245. X_NL_WABALTMON_9 = 131227
  246. X_NL_WABALTMON_10 = 131228
  247. X_NL_WABALTMON_11 = 131229
  248. X_NL_WABALTMON_12 = 131230
  249. X_NL_NUM_LC_TIME = 131231 // Number of indices in LC_TIME category.
  250. // LC_COLLATE category: text sorting.
  251. // This information is accessed by the strcoll and strxfrm functions.
  252. // These `nl_langinfo' names are used only internally.
  253. X_NL_COLLATE_NRULES = 196608
  254. X_NL_COLLATE_RULESETS = 196609
  255. X_NL_COLLATE_TABLEMB = 196610
  256. X_NL_COLLATE_WEIGHTMB = 196611
  257. X_NL_COLLATE_EXTRAMB = 196612
  258. X_NL_COLLATE_INDIRECTMB = 196613
  259. X_NL_COLLATE_GAP1 = 196614
  260. X_NL_COLLATE_GAP2 = 196615
  261. X_NL_COLLATE_GAP3 = 196616
  262. X_NL_COLLATE_TABLEWC = 196617
  263. X_NL_COLLATE_WEIGHTWC = 196618
  264. X_NL_COLLATE_EXTRAWC = 196619
  265. X_NL_COLLATE_INDIRECTWC = 196620
  266. X_NL_COLLATE_SYMB_HASH_SIZEMB = 196621
  267. X_NL_COLLATE_SYMB_TABLEMB = 196622
  268. X_NL_COLLATE_SYMB_EXTRAMB = 196623
  269. X_NL_COLLATE_COLLSEQMB = 196624
  270. X_NL_COLLATE_COLLSEQWC = 196625
  271. X_NL_COLLATE_CODESET = 196626
  272. X_NL_NUM_LC_COLLATE = 196627
  273. // LC_CTYPE category: character classification.
  274. // This information is accessed by the functions in <ctype.h>.
  275. // These `nl_langinfo' names are used only internally.
  276. X_NL_CTYPE_CLASS = 0
  277. X_NL_CTYPE_TOUPPER = 1
  278. X_NL_CTYPE_GAP1 = 2
  279. X_NL_CTYPE_TOLOWER = 3
  280. X_NL_CTYPE_GAP2 = 4
  281. X_NL_CTYPE_CLASS32 = 5
  282. X_NL_CTYPE_GAP3 = 6
  283. X_NL_CTYPE_GAP4 = 7
  284. X_NL_CTYPE_GAP5 = 8
  285. X_NL_CTYPE_GAP6 = 9
  286. X_NL_CTYPE_CLASS_NAMES = 10
  287. X_NL_CTYPE_MAP_NAMES = 11
  288. X_NL_CTYPE_WIDTH = 12
  289. X_NL_CTYPE_MB_CUR_MAX = 13
  290. X_NL_CTYPE_CODESET_NAME = 14
  291. CODESET = 14
  292. X_NL_CTYPE_TOUPPER32 = 15
  293. X_NL_CTYPE_TOLOWER32 = 16
  294. X_NL_CTYPE_CLASS_OFFSET = 17
  295. X_NL_CTYPE_MAP_OFFSET = 18
  296. X_NL_CTYPE_INDIGITS_MB_LEN = 19
  297. X_NL_CTYPE_INDIGITS0_MB = 20
  298. X_NL_CTYPE_INDIGITS1_MB = 21
  299. X_NL_CTYPE_INDIGITS2_MB = 22
  300. X_NL_CTYPE_INDIGITS3_MB = 23
  301. X_NL_CTYPE_INDIGITS4_MB = 24
  302. X_NL_CTYPE_INDIGITS5_MB = 25
  303. X_NL_CTYPE_INDIGITS6_MB = 26
  304. X_NL_CTYPE_INDIGITS7_MB = 27
  305. X_NL_CTYPE_INDIGITS8_MB = 28
  306. X_NL_CTYPE_INDIGITS9_MB = 29
  307. X_NL_CTYPE_INDIGITS_WC_LEN = 30
  308. X_NL_CTYPE_INDIGITS0_WC = 31
  309. X_NL_CTYPE_INDIGITS1_WC = 32
  310. X_NL_CTYPE_INDIGITS2_WC = 33
  311. X_NL_CTYPE_INDIGITS3_WC = 34
  312. X_NL_CTYPE_INDIGITS4_WC = 35
  313. X_NL_CTYPE_INDIGITS5_WC = 36
  314. X_NL_CTYPE_INDIGITS6_WC = 37
  315. X_NL_CTYPE_INDIGITS7_WC = 38
  316. X_NL_CTYPE_INDIGITS8_WC = 39
  317. X_NL_CTYPE_INDIGITS9_WC = 40
  318. X_NL_CTYPE_OUTDIGIT0_MB = 41
  319. X_NL_CTYPE_OUTDIGIT1_MB = 42
  320. X_NL_CTYPE_OUTDIGIT2_MB = 43
  321. X_NL_CTYPE_OUTDIGIT3_MB = 44
  322. X_NL_CTYPE_OUTDIGIT4_MB = 45
  323. X_NL_CTYPE_OUTDIGIT5_MB = 46
  324. X_NL_CTYPE_OUTDIGIT6_MB = 47
  325. X_NL_CTYPE_OUTDIGIT7_MB = 48
  326. X_NL_CTYPE_OUTDIGIT8_MB = 49
  327. X_NL_CTYPE_OUTDIGIT9_MB = 50
  328. X_NL_CTYPE_OUTDIGIT0_WC = 51
  329. X_NL_CTYPE_OUTDIGIT1_WC = 52
  330. X_NL_CTYPE_OUTDIGIT2_WC = 53
  331. X_NL_CTYPE_OUTDIGIT3_WC = 54
  332. X_NL_CTYPE_OUTDIGIT4_WC = 55
  333. X_NL_CTYPE_OUTDIGIT5_WC = 56
  334. X_NL_CTYPE_OUTDIGIT6_WC = 57
  335. X_NL_CTYPE_OUTDIGIT7_WC = 58
  336. X_NL_CTYPE_OUTDIGIT8_WC = 59
  337. X_NL_CTYPE_OUTDIGIT9_WC = 60
  338. X_NL_CTYPE_TRANSLIT_TAB_SIZE = 61
  339. X_NL_CTYPE_TRANSLIT_FROM_IDX = 62
  340. X_NL_CTYPE_TRANSLIT_FROM_TBL = 63
  341. X_NL_CTYPE_TRANSLIT_TO_IDX = 64
  342. X_NL_CTYPE_TRANSLIT_TO_TBL = 65
  343. X_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN = 66
  344. X_NL_CTYPE_TRANSLIT_DEFAULT_MISSING = 67
  345. X_NL_CTYPE_TRANSLIT_IGNORE_LEN = 68
  346. X_NL_CTYPE_TRANSLIT_IGNORE = 69
  347. X_NL_CTYPE_MAP_TO_NONASCII = 70
  348. X_NL_CTYPE_NONASCII_CASE = 71
  349. X_NL_CTYPE_EXTRA_MAP_1 = 72
  350. X_NL_CTYPE_EXTRA_MAP_2 = 73
  351. X_NL_CTYPE_EXTRA_MAP_3 = 74
  352. X_NL_CTYPE_EXTRA_MAP_4 = 75
  353. X_NL_CTYPE_EXTRA_MAP_5 = 76
  354. X_NL_CTYPE_EXTRA_MAP_6 = 77
  355. X_NL_CTYPE_EXTRA_MAP_7 = 78
  356. X_NL_CTYPE_EXTRA_MAP_8 = 79
  357. X_NL_CTYPE_EXTRA_MAP_9 = 80
  358. X_NL_CTYPE_EXTRA_MAP_10 = 81
  359. X_NL_CTYPE_EXTRA_MAP_11 = 82
  360. X_NL_CTYPE_EXTRA_MAP_12 = 83
  361. X_NL_CTYPE_EXTRA_MAP_13 = 84
  362. X_NL_CTYPE_EXTRA_MAP_14 = 85
  363. X_NL_NUM_LC_CTYPE = 86
  364. // LC_MONETARY category: formatting of monetary quantities.
  365. // These items each correspond to a member of `struct lconv',
  366. // defined in <locale.h>.
  367. X__INT_CURR_SYMBOL = 262144
  368. X__CURRENCY_SYMBOL = 262145
  369. X__MON_DECIMAL_POINT = 262146
  370. X__MON_THOUSANDS_SEP = 262147
  371. X__MON_GROUPING = 262148
  372. X__POSITIVE_SIGN = 262149
  373. X__NEGATIVE_SIGN = 262150
  374. X__INT_FRAC_DIGITS = 262151
  375. X__FRAC_DIGITS = 262152
  376. X__P_CS_PRECEDES = 262153
  377. X__P_SEP_BY_SPACE = 262154
  378. X__N_CS_PRECEDES = 262155
  379. X__N_SEP_BY_SPACE = 262156
  380. X__P_SIGN_POSN = 262157
  381. X__N_SIGN_POSN = 262158
  382. X_NL_MONETARY_CRNCYSTR = 262159
  383. X__INT_P_CS_PRECEDES = 262160
  384. X__INT_P_SEP_BY_SPACE = 262161
  385. X__INT_N_CS_PRECEDES = 262162
  386. X__INT_N_SEP_BY_SPACE = 262163
  387. X__INT_P_SIGN_POSN = 262164
  388. X__INT_N_SIGN_POSN = 262165
  389. X_NL_MONETARY_DUO_INT_CURR_SYMBOL = 262166
  390. X_NL_MONETARY_DUO_CURRENCY_SYMBOL = 262167
  391. X_NL_MONETARY_DUO_INT_FRAC_DIGITS = 262168
  392. X_NL_MONETARY_DUO_FRAC_DIGITS = 262169
  393. X_NL_MONETARY_DUO_P_CS_PRECEDES = 262170
  394. X_NL_MONETARY_DUO_P_SEP_BY_SPACE = 262171
  395. X_NL_MONETARY_DUO_N_CS_PRECEDES = 262172
  396. X_NL_MONETARY_DUO_N_SEP_BY_SPACE = 262173
  397. X_NL_MONETARY_DUO_INT_P_CS_PRECEDES = 262174
  398. X_NL_MONETARY_DUO_INT_P_SEP_BY_SPACE = 262175
  399. X_NL_MONETARY_DUO_INT_N_CS_PRECEDES = 262176
  400. X_NL_MONETARY_DUO_INT_N_SEP_BY_SPACE = 262177
  401. X_NL_MONETARY_DUO_P_SIGN_POSN = 262178
  402. X_NL_MONETARY_DUO_N_SIGN_POSN = 262179
  403. X_NL_MONETARY_DUO_INT_P_SIGN_POSN = 262180
  404. X_NL_MONETARY_DUO_INT_N_SIGN_POSN = 262181
  405. X_NL_MONETARY_UNO_VALID_FROM = 262182
  406. X_NL_MONETARY_UNO_VALID_TO = 262183
  407. X_NL_MONETARY_DUO_VALID_FROM = 262184
  408. X_NL_MONETARY_DUO_VALID_TO = 262185
  409. X_NL_MONETARY_CONVERSION_RATE = 262186
  410. X_NL_MONETARY_DECIMAL_POINT_WC = 262187
  411. X_NL_MONETARY_THOUSANDS_SEP_WC = 262188
  412. X_NL_MONETARY_CODESET = 262189
  413. X_NL_NUM_LC_MONETARY = 262190
  414. // LC_NUMERIC category: formatting of numbers.
  415. // These also correspond to members of `struct lconv'; see <locale.h>.
  416. X__DECIMAL_POINT = 65536
  417. RADIXCHAR = 65536
  418. X__THOUSANDS_SEP = 65537
  419. THOUSEP = 65537
  420. X__GROUPING = 65538
  421. X_NL_NUMERIC_DECIMAL_POINT_WC = 65539
  422. X_NL_NUMERIC_THOUSANDS_SEP_WC = 65540
  423. X_NL_NUMERIC_CODESET = 65541
  424. X_NL_NUM_LC_NUMERIC = 65542
  425. X__YESEXPR = 327680 // Regex matching ``yes'' input.
  426. X__NOEXPR = 327681 // Regex matching ``no'' input.
  427. X__YESSTR = 327682 // Output string for ``yes''.
  428. X__NOSTR = 327683 // Output string for ``no''.
  429. X_NL_MESSAGES_CODESET = 327684
  430. X_NL_NUM_LC_MESSAGES = 327685
  431. X_NL_PAPER_HEIGHT = 458752
  432. X_NL_PAPER_WIDTH = 458753
  433. X_NL_PAPER_CODESET = 458754
  434. X_NL_NUM_LC_PAPER = 458755
  435. X_NL_NAME_NAME_FMT = 524288
  436. X_NL_NAME_NAME_GEN = 524289
  437. X_NL_NAME_NAME_MR = 524290
  438. X_NL_NAME_NAME_MRS = 524291
  439. X_NL_NAME_NAME_MISS = 524292
  440. X_NL_NAME_NAME_MS = 524293
  441. X_NL_NAME_CODESET = 524294
  442. X_NL_NUM_LC_NAME = 524295
  443. X_NL_ADDRESS_POSTAL_FMT = 589824
  444. X_NL_ADDRESS_COUNTRY_NAME = 589825
  445. X_NL_ADDRESS_COUNTRY_POST = 589826
  446. X_NL_ADDRESS_COUNTRY_AB2 = 589827
  447. X_NL_ADDRESS_COUNTRY_AB3 = 589828
  448. X_NL_ADDRESS_COUNTRY_CAR = 589829
  449. X_NL_ADDRESS_COUNTRY_NUM = 589830
  450. X_NL_ADDRESS_COUNTRY_ISBN = 589831
  451. X_NL_ADDRESS_LANG_NAME = 589832
  452. X_NL_ADDRESS_LANG_AB = 589833
  453. X_NL_ADDRESS_LANG_TERM = 589834
  454. X_NL_ADDRESS_LANG_LIB = 589835
  455. X_NL_ADDRESS_CODESET = 589836
  456. X_NL_NUM_LC_ADDRESS = 589837
  457. X_NL_TELEPHONE_TEL_INT_FMT = 655360
  458. X_NL_TELEPHONE_TEL_DOM_FMT = 655361
  459. X_NL_TELEPHONE_INT_SELECT = 655362
  460. X_NL_TELEPHONE_INT_PREFIX = 655363
  461. X_NL_TELEPHONE_CODESET = 655364
  462. X_NL_NUM_LC_TELEPHONE = 655365
  463. X_NL_MEASUREMENT_MEASUREMENT = 720896
  464. X_NL_MEASUREMENT_CODESET = 720897
  465. X_NL_NUM_LC_MEASUREMENT = 720898
  466. X_NL_IDENTIFICATION_TITLE = 786432
  467. X_NL_IDENTIFICATION_SOURCE = 786433
  468. X_NL_IDENTIFICATION_ADDRESS = 786434
  469. X_NL_IDENTIFICATION_CONTACT = 786435
  470. X_NL_IDENTIFICATION_EMAIL = 786436
  471. X_NL_IDENTIFICATION_TEL = 786437
  472. X_NL_IDENTIFICATION_FAX = 786438
  473. X_NL_IDENTIFICATION_LANGUAGE = 786439
  474. X_NL_IDENTIFICATION_TERRITORY = 786440
  475. X_NL_IDENTIFICATION_AUDIENCE = 786441
  476. X_NL_IDENTIFICATION_APPLICATION = 786442
  477. X_NL_IDENTIFICATION_ABBREVIATION = 786443
  478. X_NL_IDENTIFICATION_REVISION = 786444
  479. X_NL_IDENTIFICATION_DATE = 786445
  480. X_NL_IDENTIFICATION_CATEGORY = 786446
  481. X_NL_IDENTIFICATION_CODESET = 786447
  482. X_NL_NUM_LC_IDENTIFICATION = 786448
  483. // This marks the highest value used.
  484. X_NL_NUM = 786449
  485. )
  486. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  487. type Size_t = uint64 /* <builtin>:9:23 */
  488. type Wchar_t = int32 /* <builtin>:15:24 */
  489. type X__int128_t = struct {
  490. Flo int64
  491. Fhi int64
  492. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  493. type X__uint128_t = struct {
  494. Flo uint64
  495. Fhi uint64
  496. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  497. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  498. type X__ieee128 = float64 /* <builtin>:47:21 */
  499. // Access to locale-dependent parameters.
  500. // Copyright (C) 1995-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. // Get the type definition.
  517. // Copyright (C) 1996-2020 Free Software Foundation, Inc.
  518. // This file is part of the GNU C Library.
  519. //
  520. // The GNU C Library is free software; you can redistribute it and/or
  521. // modify it under the terms of the GNU Lesser General Public
  522. // License as published by the Free Software Foundation; either
  523. // version 2.1 of the License, or (at your option) any later version.
  524. //
  525. // The GNU C Library is distributed in the hope that it will be useful,
  526. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  527. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  528. // Lesser General Public License for more details.
  529. //
  530. // You should have received a copy of the GNU Lesser General Public
  531. // License along with the GNU C Library; if not, see
  532. // <https://www.gnu.org/licenses/>.
  533. // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  534. // This file is part of the GNU C Library.
  535. //
  536. // The GNU C Library is free software; you can redistribute it and/or
  537. // modify it under the terms of the GNU Lesser General Public
  538. // License as published by the Free Software Foundation; either
  539. // version 2.1 of the License, or (at your option) any later version.
  540. //
  541. // The GNU C Library is distributed in the hope that it will be useful,
  542. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  543. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  544. // Lesser General Public License for more details.
  545. //
  546. // You should have received a copy of the GNU Lesser General Public
  547. // License along with the GNU C Library; if not, see
  548. // <https://www.gnu.org/licenses/>.
  549. // These are defined by the user (or the compiler)
  550. // to specify the desired environment:
  551. //
  552. // __STRICT_ANSI__ ISO Standard C.
  553. // _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
  554. // _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
  555. // _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
  556. // __STDC_WANT_LIB_EXT2__
  557. // Extensions to ISO C99 from TR 27431-2:2010.
  558. // __STDC_WANT_IEC_60559_BFP_EXT__
  559. // Extensions to ISO C11 from TS 18661-1:2014.
  560. // __STDC_WANT_IEC_60559_FUNCS_EXT__
  561. // Extensions to ISO C11 from TS 18661-4:2015.
  562. // __STDC_WANT_IEC_60559_TYPES_EXT__
  563. // Extensions to ISO C11 from TS 18661-3:2015.
  564. //
  565. // _POSIX_SOURCE IEEE Std 1003.1.
  566. // _POSIX_C_SOURCE If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
  567. // if >=199309L, add IEEE Std 1003.1b-1993;
  568. // if >=199506L, add IEEE Std 1003.1c-1995;
  569. // if >=200112L, all of IEEE 1003.1-2004
  570. // if >=200809L, all of IEEE 1003.1-2008
  571. // _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if
  572. // Single Unix conformance is wanted, to 600 for the
  573. // sixth revision, to 700 for the seventh revision.
  574. // _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
  575. // _LARGEFILE_SOURCE Some more functions for correct standard I/O.
  576. // _LARGEFILE64_SOURCE Additional functionality from LFS for large files.
  577. // _FILE_OFFSET_BITS=N Select default filesystem interface.
  578. // _ATFILE_SOURCE Additional *at interfaces.
  579. // _GNU_SOURCE All of the above, plus GNU extensions.
  580. // _DEFAULT_SOURCE The default set of features (taking precedence over
  581. // __STRICT_ANSI__).
  582. //
  583. // _FORTIFY_SOURCE Add security hardening to many library functions.
  584. // Set to 1 or 2; 2 performs stricter checks than 1.
  585. //
  586. // _REENTRANT, _THREAD_SAFE
  587. // Obsolete; equivalent to _POSIX_C_SOURCE=199506L.
  588. //
  589. // The `-ansi' switch to the GNU C compiler, and standards conformance
  590. // options such as `-std=c99', define __STRICT_ANSI__. If none of
  591. // these are defined, or if _DEFAULT_SOURCE is defined, the default is
  592. // to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to
  593. // 200809L, as well as enabling miscellaneous functions from BSD and
  594. // SVID. If more than one of these are defined, they accumulate. For
  595. // example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together
  596. // give you ISO C, 1003.1, and 1003.2, but nothing else.
  597. //
  598. // These are defined by this file and are used by the
  599. // header files to decide what to declare or define:
  600. //
  601. // __GLIBC_USE (F) Define things from feature set F. This is defined
  602. // to 1 or 0; the subsequent macros are either defined
  603. // or undefined, and those tests should be moved to
  604. // __GLIBC_USE.
  605. // __USE_ISOC11 Define ISO C11 things.
  606. // __USE_ISOC99 Define ISO C99 things.
  607. // __USE_ISOC95 Define ISO C90 AMD1 (C95) things.
  608. // __USE_ISOCXX11 Define ISO C++11 things.
  609. // __USE_POSIX Define IEEE Std 1003.1 things.
  610. // __USE_POSIX2 Define IEEE Std 1003.2 things.
  611. // __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things.
  612. // __USE_POSIX199506 Define IEEE Std 1003.1, .1b, .1c and .1i things.
  613. // __USE_XOPEN Define XPG things.
  614. // __USE_XOPEN_EXTENDED Define X/Open Unix things.
  615. // __USE_UNIX98 Define Single Unix V2 things.
  616. // __USE_XOPEN2K Define XPG6 things.
  617. // __USE_XOPEN2KXSI Define XPG6 XSI things.
  618. // __USE_XOPEN2K8 Define XPG7 things.
  619. // __USE_XOPEN2K8XSI Define XPG7 XSI things.
  620. // __USE_LARGEFILE Define correct standard I/O things.
  621. // __USE_LARGEFILE64 Define LFS things with separate names.
  622. // __USE_FILE_OFFSET64 Define 64bit interface as default.
  623. // __USE_MISC Define things from 4.3BSD or System V Unix.
  624. // __USE_ATFILE Define *at interfaces and AT_* constants for them.
  625. // __USE_GNU Define GNU extensions.
  626. // __USE_FORTIFY_LEVEL Additional security measures used, according to level.
  627. //
  628. // The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
  629. // defined by this file unconditionally. `__GNU_LIBRARY__' is provided
  630. // only for compatibility. All new code should use the other symbols
  631. // to test for features.
  632. //
  633. // All macros listed above as possibly being defined by this file are
  634. // explicitly undefined if they are not explicitly defined.
  635. // Feature-test macros that are not defined by the user or compiler
  636. // but are implied by the other feature-test macros defined (or by the
  637. // lack of any definitions) are defined by the file.
  638. //
  639. // ISO C feature test macros depend on the definition of the macro
  640. // when an affected header is included, not when the first system
  641. // header is included, and so they are handled in
  642. // <bits/libc-header-start.h>, which does not have a multiple include
  643. // guard. Feature test macros that can be handled from the first
  644. // system header included are handled here.
  645. // Undefine everything, so we get a clean slate.
  646. // Suppress kernel-name space pollution unless user expressedly asks
  647. // for it.
  648. // Convenience macro to test the version of gcc.
  649. // Use like this:
  650. // #if __GNUC_PREREQ (2,8)
  651. // ... code requiring gcc 2.8 or later ...
  652. // #endif
  653. // Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was
  654. // added in 2.0.
  655. // Similarly for clang. Features added to GCC after version 4.2 may
  656. // or may not also be available in clang, and clang's definitions of
  657. // __GNUC(_MINOR)__ are fixed at 4 and 2 respectively. Not all such
  658. // features can be queried via __has_extension/__has_feature.
  659. // Whether to use feature set F.
  660. // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for
  661. // _DEFAULT_SOURCE. If _DEFAULT_SOURCE is present we do not
  662. // issue a warning; the expectation is that the source is being
  663. // transitioned to use the new macro.
  664. // If _GNU_SOURCE was defined by the user, turn on all the other features.
  665. // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
  666. // define _DEFAULT_SOURCE.
  667. // This is to enable the ISO C2X extension.
  668. // This is to enable the ISO C11 extension.
  669. // This is to enable the ISO C99 extension.
  670. // This is to enable the ISO C90 Amendment 1:1995 extension.
  671. // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE
  672. // is defined, use POSIX.1-2008 (or another version depending on
  673. // _XOPEN_SOURCE).
  674. // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
  675. // defined in all multithreaded code. GNU libc has not required this
  676. // for many years. We now treat them as compatibility synonyms for
  677. // _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with
  678. // comprehensive support for multithreaded code. Using them never
  679. // lowers the selected level of POSIX conformance, only raises it.
  680. // The function 'gets' existed in C89, but is impossible to use
  681. // safely. It has been removed from ISO C11 and ISO C++14. Note: for
  682. // compatibility with various implementations of <cstdio>, this test
  683. // must consider only the value of __cplusplus when compiling C++.
  684. // GNU formerly extended the scanf functions with modified format
  685. // specifiers %as, %aS, and %a[...] that allocate a buffer for the
  686. // input using malloc. This extension conflicts with ISO C99, which
  687. // defines %a as a standalone format specifier that reads a floating-
  688. // point number; moreover, POSIX.1-2008 provides the same feature
  689. // using the modifier letter 'm' instead (%ms, %mS, %m[...]).
  690. //
  691. // We now follow C99 unless GNU extensions are active and the compiler
  692. // is specifically in C89 or C++98 mode (strict or not). For
  693. // instance, with GCC, -std=gnu11 will have C99-compliant scanf with
  694. // or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
  695. // old extension.
  696. // Get definitions of __STDC_* predefined macros, if the compiler has
  697. // not preincluded this header automatically.
  698. // Copyright (C) 1991-2020 Free Software Foundation, Inc.
  699. // This file is part of the GNU C Library.
  700. //
  701. // The GNU C Library is free software; you can redistribute it and/or
  702. // modify it under the terms of the GNU Lesser General Public
  703. // License as published by the Free Software Foundation; either
  704. // version 2.1 of the License, or (at your option) any later version.
  705. //
  706. // The GNU C Library is distributed in the hope that it will be useful,
  707. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  708. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  709. // Lesser General Public License for more details.
  710. //
  711. // You should have received a copy of the GNU Lesser General Public
  712. // License along with the GNU C Library; if not, see
  713. // <https://www.gnu.org/licenses/>.
  714. // This macro indicates that the installed library is the GNU C Library.
  715. // For historic reasons the value now is 6 and this will stay from now
  716. // on. The use of this variable is deprecated. Use __GLIBC__ and
  717. // __GLIBC_MINOR__ now (see below) when you want to test for a specific
  718. // GNU C library version and use the values in <gnu/lib-names.h> to get
  719. // the sonames of the shared libraries.
  720. // Major and minor version number of the GNU C library package. Use
  721. // these macros to test for features in specific releases.
  722. // This is here only because every header file already includes this one.
  723. // Copyright (C) 1992-2020 Free Software Foundation, Inc.
  724. // This file is part of the GNU C Library.
  725. //
  726. // The GNU C Library is free software; you can redistribute it and/or
  727. // modify it under the terms of the GNU Lesser General Public
  728. // License as published by the Free Software Foundation; either
  729. // version 2.1 of the License, or (at your option) any later version.
  730. //
  731. // The GNU C Library is distributed in the hope that it will be useful,
  732. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  733. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  734. // Lesser General Public License for more details.
  735. //
  736. // You should have received a copy of the GNU Lesser General Public
  737. // License along with the GNU C Library; if not, see
  738. // <https://www.gnu.org/licenses/>.
  739. // We are almost always included from features.h.
  740. // The GNU libc does not support any K&R compilers or the traditional mode
  741. // of ISO C compilers anymore. Check for some of the combinations not
  742. // anymore supported.
  743. // Some user header file might have defined this before.
  744. // All functions, except those with callbacks or those that
  745. // synchronize memory, are leaf functions.
  746. // GCC can always grok prototypes. For C++ programs we add throw()
  747. // to help it optimize the function calls. But this works only with
  748. // gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions
  749. // as non-throwing using a function attribute since programs can use
  750. // the -fexceptions options for C code as well.
  751. // Compilers that are not clang may object to
  752. // #if defined __clang__ && __has_extension(...)
  753. // even though they do not need to evaluate the right-hand side of the &&.
  754. // These two macros are not used in glibc anymore. They are kept here
  755. // only because some other projects expect the macros to be defined.
  756. // For these things, GCC behaves the ANSI way normally,
  757. // and the non-ANSI way under -traditional.
  758. // This is not a typedef so `const __ptr_t' does the right thing.
  759. // C++ needs to know that types and declarations are C, not C++.
  760. // Fortify support.
  761. // Support for flexible arrays.
  762. // Headers that should use flexible arrays only if they're "real"
  763. // (e.g. only if they won't affect sizeof()) should test
  764. // #if __glibc_c99_flexarr_available.
  765. // __asm__ ("xyz") is used throughout the headers to rename functions
  766. // at the assembly language level. This is wrapped by the __REDIRECT
  767. // macro, in order to support compilers that can do this some other
  768. // way. When compilers don't support asm-names at all, we have to do
  769. // preprocessor tricks instead (which don't have exactly the right
  770. // semantics, but it's the best we can do).
  771. //
  772. // Example:
  773. // int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid);
  774. //
  775. // #elif __SOME_OTHER_COMPILER__
  776. //
  777. // # define __REDIRECT(name, proto, alias) name proto; _Pragma("let " #name " = " #alias)
  778. // GCC has various useful declarations that can be made with the
  779. // `__attribute__' syntax. All of the ways we use this do fine if
  780. // they are omitted for compilers that don't understand it.
  781. // At some point during the gcc 2.96 development the `malloc' attribute
  782. // for functions was introduced. We don't want to use it unconditionally
  783. // (although this would be possible) since it generates warnings.
  784. // Tell the compiler which arguments to an allocation function
  785. // indicate the size of the allocation.
  786. // At some point during the gcc 2.96 development the `pure' attribute
  787. // for functions was introduced. We don't want to use it unconditionally
  788. // (although this would be possible) since it generates warnings.
  789. // This declaration tells the compiler that the value is constant.
  790. // At some point during the gcc 3.1 development the `used' attribute
  791. // for functions was introduced. We don't want to use it unconditionally
  792. // (although this would be possible) since it generates warnings.
  793. // Since version 3.2, gcc allows marking deprecated functions.
  794. // Since version 4.5, gcc also allows one to specify the message printed
  795. // when a deprecated function is used. clang claims to be gcc 4.2, but
  796. // may also support this feature.
  797. // At some point during the gcc 2.8 development the `format_arg' attribute
  798. // for functions was introduced. We don't want to use it unconditionally
  799. // (although this would be possible) since it generates warnings.
  800. // If several `format_arg' attributes are given for the same function, in
  801. // gcc-3.0 and older, all but the last one are ignored. In newer gccs,
  802. // all designated arguments are considered.
  803. // At some point during the gcc 2.97 development the `strfmon' format
  804. // attribute for functions was introduced. We don't want to use it
  805. // unconditionally (although this would be possible) since it
  806. // generates warnings.
  807. // The nonull function attribute allows to mark pointer parameters which
  808. // must not be NULL.
  809. // If fortification mode, we warn about unused results of certain
  810. // function calls which can lead to problems.
  811. // Forces a function to be always inlined.
  812. // The Linux kernel defines __always_inline in stddef.h (283d7573), and
  813. // it conflicts with this definition. Therefore undefine it first to
  814. // allow either header to be included first.
  815. // Associate error messages with the source location of the call site rather
  816. // than with the source location inside the function.
  817. // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
  818. // inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__
  819. // or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
  820. // older than 4.3 may define these macros and still not guarantee GNU inlining
  821. // semantics.
  822. //
  823. // clang++ identifies itself as gcc-4.2, but has support for GNU inlining
  824. // semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
  825. // __GNUC_GNU_INLINE__ macro definitions.
  826. // GCC 4.3 and above allow passing all anonymous arguments of an
  827. // __extern_always_inline function to some other vararg function.
  828. // It is possible to compile containing GCC extensions even if GCC is
  829. // run in pedantic mode if the uses are carefully marked using the
  830. // `__extension__' keyword. But this is not generally available before
  831. // version 2.8.
  832. // __restrict is known in EGCS 1.2 and above.
  833. // ISO C99 also allows to declare arrays as non-overlapping. The syntax is
  834. // array_name[restrict]
  835. // GCC 3.1 supports this.
  836. // Describes a char array whose address can safely be passed as the first
  837. // argument to strncpy and strncat, as the char array is not necessarily
  838. // a NUL-terminated string.
  839. // Undefine (also defined in libc-symbols.h).
  840. // Copies attributes from the declaration or type referenced by
  841. // the argument.
  842. // Determine the wordsize from the preprocessor defines.
  843. // Properties of long double type. ldbl-opt version.
  844. // Copyright (C) 2016-2020 Free Software Foundation, Inc.
  845. // This file is part of the GNU C Library.
  846. //
  847. // The GNU C Library is free software; you can redistribute it and/or
  848. // modify it under the terms of the GNU Lesser General Public
  849. // License published by the Free Software Foundation; either
  850. // version 2.1 of the License, or (at your option) any later version.
  851. //
  852. // The GNU C Library is distributed in the hope that it will be useful,
  853. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  854. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  855. // Lesser General Public License for more details.
  856. //
  857. // You should have received a copy of the GNU Lesser General Public
  858. // License along with the GNU C Library; if not, see
  859. // <https://www.gnu.org/licenses/>.
  860. // __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is
  861. // intended for use in preprocessor macros.
  862. //
  863. // Note: MESSAGE must be a _single_ string; concatenation of string
  864. // literals is not supported.
  865. // Generic selection (ISO C11) is a C-only feature, available in GCC
  866. // since version 4.9. Previous versions do not provide generic
  867. // selection, even though they might set __STDC_VERSION__ to 201112L,
  868. // when in -std=c11 mode. Thus, we must check for !defined __GNUC__
  869. // when testing __STDC_VERSION__ for generic selection support.
  870. // On the other hand, Clang also defines __GNUC__, so a clang-specific
  871. // check is required to enable the use of generic selection.
  872. // If we don't have __REDIRECT, prototypes will be missing if
  873. // __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64].
  874. // Decide whether we can define 'extern inline' functions in headers.
  875. // This is here only because every header file already includes this one.
  876. // Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
  877. // <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
  878. // that will always return failure (and set errno to ENOSYS).
  879. // This file is automatically generated.
  880. // This file selects the right generated file of `__stub_FUNCTION' macros
  881. // based on the architecture being compiled for.
  882. // Determine the wordsize from the preprocessor defines.
  883. // This file is automatically generated.
  884. // It defines a symbol `__stub_FUNCTION' for each function
  885. // in the C library which is a stub, meaning it will fail
  886. // every time called, usually setting errno to ENOSYS.
  887. // The default message set used by the gencat program.
  888. // Value for FLAG parameter of `catgets' to say we want XPG4 compliance.
  889. // Message catalog descriptor type.
  890. type Nl_catd = uintptr /* nl_types.h:33:14 */
  891. // Type used by `nl_langinfo'.
  892. type Nl_item = int32 /* nl_types.h:36:13 */
  893. // POSIX.1-2008 extended locale interface (see locale.h).
  894. // Definition of locale_t.
  895. // Copyright (C) 2017-2020 Free Software Foundation, Inc.
  896. // This file is part of the GNU C Library.
  897. //
  898. // The GNU C Library is free software; you can redistribute it and/or
  899. // modify it under the terms of the GNU Lesser General Public
  900. // License as published by the Free Software Foundation; either
  901. // version 2.1 of the License, or (at your option) any later version.
  902. //
  903. // The GNU C Library is distributed in the hope that it will be useful,
  904. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  905. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  906. // Lesser General Public License for more details.
  907. //
  908. // You should have received a copy of the GNU Lesser General Public
  909. // License along with the GNU C Library; if not, see
  910. // <https://www.gnu.org/licenses/>.
  911. // Definition of struct __locale_struct and __locale_t.
  912. // Copyright (C) 1997-2020 Free Software Foundation, Inc.
  913. // This file is part of the GNU C Library.
  914. // Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
  915. //
  916. // The GNU C Library is free software; you can redistribute it and/or
  917. // modify it under the terms of the GNU Lesser General Public
  918. // License as published by the Free Software Foundation; either
  919. // version 2.1 of the License, or (at your option) any later version.
  920. //
  921. // The GNU C Library is distributed in the hope that it will be useful,
  922. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  923. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  924. // Lesser General Public License for more details.
  925. //
  926. // You should have received a copy of the GNU Lesser General Public
  927. // License along with the GNU C Library; if not, see
  928. // <https://www.gnu.org/licenses/>.
  929. // POSIX.1-2008: the locale_t type, representing a locale context
  930. // (implementation-namespace version). This type should be treated
  931. // as opaque by applications; some details are exposed for the sake of
  932. // efficiency in e.g. ctype functions.
  933. type X__locale_struct = struct {
  934. F__locales [13]uintptr
  935. F__ctype_b uintptr
  936. F__ctype_tolower uintptr
  937. F__ctype_toupper uintptr
  938. F__names [13]uintptr
  939. } /* __locale_t.h:28:1 */
  940. type X__locale_t = uintptr /* __locale_t.h:42:32 */
  941. type Locale_t = X__locale_t /* locale_t.h:24:20 */
  942. var _ uint8 /* gen.c:2:13: */