langinfo_linux_arm.go 43 KB

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