langinfo_linux_386.go 42 KB

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