langinfo_linux_amd64.go 43 KB

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