langinfo_openbsd_arm64.go (22229B)
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_openbsd_arm64.go -pkgname langinfo', DO NOT EDIT. 2 3 package langinfo 4 5 import ( 6 "math" 7 "reflect" 8 "sync/atomic" 9 "unsafe" 10 ) 11 12 var _ = math.Pi 13 var _ reflect.Kind 14 var _ atomic.Value 15 var _ unsafe.Pointer 16 17 const ( 18 ABDAY_1 = 13 // langinfo.h:29:1: 19 ABDAY_2 = 14 // langinfo.h:30:1: 20 ABDAY_3 = 15 // langinfo.h:31:1: 21 ABDAY_4 = 16 // langinfo.h:32:1: 22 ABDAY_5 = 17 // langinfo.h:33:1: 23 ABDAY_6 = 18 // langinfo.h:34:1: 24 ABDAY_7 = 19 // langinfo.h:35:1: 25 ABMON_1 = 32 // langinfo.h:50:1: 26 ABMON_10 = 41 // langinfo.h:59:1: 27 ABMON_11 = 42 // langinfo.h:60:1: 28 ABMON_12 = 43 // langinfo.h:61:1: 29 ABMON_2 = 33 // langinfo.h:51:1: 30 ABMON_3 = 34 // langinfo.h:52:1: 31 ABMON_4 = 35 // langinfo.h:53:1: 32 ABMON_5 = 36 // langinfo.h:54:1: 33 ABMON_6 = 37 // langinfo.h:55:1: 34 ABMON_7 = 38 // langinfo.h:56:1: 35 ABMON_8 = 39 // langinfo.h:57:1: 36 ABMON_9 = 40 // langinfo.h:58:1: 37 AM_STR = 4 // langinfo.h:18:1: 38 CODESET = 51 // langinfo.h:71:1: 39 CRNCYSTR = 50 // langinfo.h:69:1: 40 DAY_1 = 6 // langinfo.h:21:1: 41 DAY_2 = 7 // langinfo.h:22:1: 42 DAY_3 = 8 // langinfo.h:23:1: 43 DAY_4 = 9 // langinfo.h:24:1: 44 DAY_5 = 10 // langinfo.h:25:1: 45 DAY_6 = 11 // langinfo.h:26:1: 46 DAY_7 = 12 // langinfo.h:27:1: 47 D_FMT = 1 // langinfo.h:15:1: 48 D_T_FMT = 0 // langinfo.h:14:1: 49 MON_1 = 20 // langinfo.h:37:1: 50 MON_10 = 29 // langinfo.h:46:1: 51 MON_11 = 30 // langinfo.h:47:1: 52 MON_12 = 31 // langinfo.h:48:1: 53 MON_2 = 21 // langinfo.h:38:1: 54 MON_3 = 22 // langinfo.h:39:1: 55 MON_4 = 23 // langinfo.h:40:1: 56 MON_5 = 24 // langinfo.h:41:1: 57 MON_6 = 25 // langinfo.h:42:1: 58 MON_7 = 26 // langinfo.h:43:1: 59 MON_8 = 27 // langinfo.h:44:1: 60 MON_9 = 28 // langinfo.h:45:1: 61 NL_CAT_LOCALE = 1 // nl_types.h:76:1: 62 NL_SETD = 1 // nl_types.h:75:1: 63 NOEXPR = 49 // langinfo.h:68:1: 64 NOSTR = 48 // langinfo.h:67:1: 65 PM_STR = 5 // langinfo.h:19:1: 66 RADIXCHAR = 44 // langinfo.h:63:1: 67 THOUSEP = 45 // langinfo.h:64:1: 68 T_FMT = 2 // langinfo.h:16:1: 69 T_FMT_AMPM = 3 // langinfo.h:17:1: 70 YESEXPR = 47 // langinfo.h:66:1: 71 YESSTR = 46 // langinfo.h:65:1: 72 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: 73 X_LANGINFO_H_ = 0 // langinfo.h:10:1: 74 X_LOCALE_T_DEFINED_ = 0 // langinfo.h:75:1: 75 X_LP64 = 1 // <predefined>:1:1: 76 X_MACHINE_CDEFS_H_ = 0 // cdefs.h:4:1: 77 X_NL_TYPES_H_ = 0 // nl_types.h:34:1: 78 X_RET_PROTECTOR = 1 // <predefined>:2:1: 79 X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1: 80 Unix = 1 // <predefined>:360:1: 81 ) 82 83 type Ptrdiff_t = int64 /* <builtin>:3:26 */ 84 85 type Size_t = uint64 /* <builtin>:9:23 */ 86 87 type Wchar_t = int32 /* <builtin>:15:24 */ 88 89 type X__int128_t = struct { 90 Flo int64 91 Fhi int64 92 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 93 type X__uint128_t = struct { 94 Flo uint64 95 Fhi uint64 96 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 97 98 type X__builtin_va_list = uintptr /* <builtin>:46:14 */ 99 type X__float128 = float64 /* <builtin>:47:21 */ 100 101 // $OpenBSD: langinfo.h,v 1.8 2017/09/05 03:16:13 schwarze Exp $ 102 // $NetBSD: langinfo.h,v 1.3 1995/04/28 23:30:54 jtc Exp $ 103 104 // Written by J.T. Conklin <jtc@netbsd.org> 105 // Public domain. 106 107 // $OpenBSD: nl_types.h,v 1.8 2008/06/26 05:42:04 ray Exp $ 108 // $NetBSD: nl_types.h,v 1.6 1996/05/13 23:11:15 jtc Exp $ 109 110 // - 111 // Copyright (c) 1996 The NetBSD Foundation, Inc. 112 // All rights reserved. 113 // 114 // This code is derived from software contributed to The NetBSD Foundation 115 // by J.T. Conklin. 116 // 117 // Redistribution and use in source and binary forms, with or without 118 // modification, are permitted provided that the following conditions 119 // are met: 120 // 1. Redistributions of source code must retain the above copyright 121 // notice, this list of conditions and the following disclaimer. 122 // 2. Redistributions in binary form must reproduce the above copyright 123 // notice, this list of conditions and the following disclaimer in the 124 // documentation and/or other materials provided with the distribution. 125 // 126 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 127 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 128 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 129 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE 130 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 131 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 132 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 133 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 134 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 135 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 136 // POSSIBILITY OF SUCH DAMAGE. 137 138 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 139 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 140 141 // Copyright (c) 1991, 1993 142 // The Regents of the University of California. All rights reserved. 143 // 144 // This code is derived from software contributed to Berkeley by 145 // Berkeley Software Design, Inc. 146 // 147 // Redistribution and use in source and binary forms, with or without 148 // modification, are permitted provided that the following conditions 149 // are met: 150 // 1. Redistributions of source code must retain the above copyright 151 // notice, this list of conditions and the following disclaimer. 152 // 2. Redistributions in binary form must reproduce the above copyright 153 // notice, this list of conditions and the following disclaimer in the 154 // documentation and/or other materials provided with the distribution. 155 // 3. Neither the name of the University nor the names of its contributors 156 // may be used to endorse or promote products derived from this software 157 // without specific prior written permission. 158 // 159 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 160 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 161 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 162 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 163 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 164 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 165 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 166 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 167 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 168 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 169 // SUCH DAMAGE. 170 // 171 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 172 173 // $OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ 174 175 // Macro to test if we're using a specific version of gcc or later. 176 177 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 178 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 179 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 180 // in between its arguments. Do not use __CONCAT on double-quoted strings, 181 // such as those from the __STRING macro: to concatenate strings just put 182 // them next to each other. 183 184 // GCC1 and some versions of GCC2 declare dead (non-returning) and 185 // pure (no side effects) functions using "volatile" and "const"; 186 // unfortunately, these then cause warnings under "-ansi -pedantic". 187 // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these 188 // work for GNU C++ (modulo a slight glitch in the C++ grammar in 189 // the distribution version of 2.5.5). 190 191 // __returns_twice makes the compiler not assume the function 192 // only returns once. This affects registerisation of variables: 193 // even local variables need to be in memory across such a call. 194 // Example: setjmp() 195 196 // __only_inline makes the compiler only use this function definition 197 // for inlining; references that can't be inlined will be left as 198 // external references instead of generating a local copy. The 199 // matching library should include a simple extern definition for 200 // the function to handle those references. c.f. ctype.h 201 202 // GNU C version 2.96 adds explicit branch prediction so that 203 // the CPU back-end can hint the processor and also so that 204 // code blocks can be reordered such that the predicted path 205 // sees a more linear flow, thus improving cache behavior, etc. 206 // 207 // The following two macros provide us with a way to utilize this 208 // compiler feature. Use __predict_true() if you expect the expression 209 // to evaluate to true, and __predict_false() if you expect the 210 // expression to evaluate to false. 211 // 212 // A few notes about usage: 213 // 214 // * Generally, __predict_false() error condition checks (unless 215 // you have some _strong_ reason to do otherwise, in which case 216 // document it), and/or __predict_true() `no-error' condition 217 // checks, assuming you want to optimize for the no-error case. 218 // 219 // * Other than that, if you don't know the likelihood of a test 220 // succeeding from empirical or other `hard' evidence, don't 221 // make predictions. 222 // 223 // * These are meant to be used in places that are run `a lot'. 224 // It is wasteful to make predictions in code that is run 225 // seldomly (e.g. at subsystem initialization time) as the 226 // basic block reordering that this affects can often generate 227 // larger code. 228 229 // Delete pseudo-keywords wherever they are not available or needed. 230 231 // The __packed macro indicates that a variable or structure members 232 // should have the smallest possible alignment, despite any host CPU 233 // alignment requirements. 234 // 235 // The __aligned(x) macro specifies the minimum alignment of a 236 // variable or structure. 237 // 238 // These macros together are useful for describing the layout and 239 // alignment of messages exchanged with hardware or other systems. 240 241 // "The nice thing about standards is that there are so many to choose from." 242 // There are a number of "feature test macros" specified by (different) 243 // standards that determine which interfaces and types the header files 244 // should expose. 245 // 246 // Because of inconsistencies in these macros, we define our own 247 // set in the private name space that end in _VISIBLE. These are 248 // always defined and so headers can test their values easily. 249 // Things can get tricky when multiple feature macros are defined. 250 // We try to take the union of all the features requested. 251 // 252 // The following macros are guaranteed to have a value after cdefs.h 253 // has been included: 254 // __POSIX_VISIBLE 255 // __XPG_VISIBLE 256 // __ISO_C_VISIBLE 257 // __BSD_VISIBLE 258 259 // X/Open Portability Guides and Single Unix Specifications. 260 // _XOPEN_SOURCE XPG3 261 // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4 262 // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2 263 // _XOPEN_SOURCE == 500 XPG5 264 // _XOPEN_SOURCE == 520 XPG5v2 265 // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI 266 // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI 267 // 268 // The XPG spec implies a specific value for _POSIX_C_SOURCE. 269 270 // POSIX macros, these checks must follow the XOPEN ones above. 271 // 272 // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE) 273 // _POSIX_C_SOURCE == 1 1003.1-1990 274 // _POSIX_C_SOURCE == 2 1003.2-1992 275 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 276 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 277 // and the omnibus ISO/IEC 9945-1:1996 278 // _POSIX_C_SOURCE == 200112L 1003.1-2001 279 // _POSIX_C_SOURCE == 200809L 1003.1-2008 280 // 281 // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though 282 // this may be overridden by the _ISOC99_SOURCE macro later. 283 284 // _ANSI_SOURCE means to expose ANSI C89 interfaces only. 285 // If the user defines it in addition to one of the POSIX or XOPEN 286 // macros, assume the POSIX/XOPEN macro(s) should take precedence. 287 288 // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus 289 // override any of the other macros since they are non-exclusive. 290 291 // Finally deal with BSD-specific interfaces that are not covered 292 // by any standards. We expose these when none of the POSIX or XPG 293 // macros is defined or if the user explicitly asks for them. 294 295 // Default values. 296 297 type X_nl_catd = struct { 298 F__data uintptr 299 F__size int32 300 F__ccgo_pad1 [4]byte 301 } /* nl_types.h:78:9 */ 302 303 // $OpenBSD: langinfo.h,v 1.8 2017/09/05 03:16:13 schwarze Exp $ 304 // $NetBSD: langinfo.h,v 1.3 1995/04/28 23:30:54 jtc Exp $ 305 306 // Written by J.T. Conklin <jtc@netbsd.org> 307 // Public domain. 308 309 // $OpenBSD: nl_types.h,v 1.8 2008/06/26 05:42:04 ray Exp $ 310 // $NetBSD: nl_types.h,v 1.6 1996/05/13 23:11:15 jtc Exp $ 311 312 // - 313 // Copyright (c) 1996 The NetBSD Foundation, Inc. 314 // All rights reserved. 315 // 316 // This code is derived from software contributed to The NetBSD Foundation 317 // by J.T. Conklin. 318 // 319 // Redistribution and use in source and binary forms, with or without 320 // modification, are permitted provided that the following conditions 321 // are met: 322 // 1. Redistributions of source code must retain the above copyright 323 // notice, this list of conditions and the following disclaimer. 324 // 2. Redistributions in binary form must reproduce the above copyright 325 // notice, this list of conditions and the following disclaimer in the 326 // documentation and/or other materials provided with the distribution. 327 // 328 // THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 329 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 330 // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 331 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE 332 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 333 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 334 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 335 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 336 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 337 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 338 // POSSIBILITY OF SUCH DAMAGE. 339 340 // $OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ 341 // $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ 342 343 // Copyright (c) 1991, 1993 344 // The Regents of the University of California. All rights reserved. 345 // 346 // This code is derived from software contributed to Berkeley by 347 // Berkeley Software Design, Inc. 348 // 349 // Redistribution and use in source and binary forms, with or without 350 // modification, are permitted provided that the following conditions 351 // are met: 352 // 1. Redistributions of source code must retain the above copyright 353 // notice, this list of conditions and the following disclaimer. 354 // 2. Redistributions in binary form must reproduce the above copyright 355 // notice, this list of conditions and the following disclaimer in the 356 // documentation and/or other materials provided with the distribution. 357 // 3. Neither the name of the University nor the names of its contributors 358 // may be used to endorse or promote products derived from this software 359 // without specific prior written permission. 360 // 361 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 362 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 363 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 364 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 365 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 366 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 367 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 368 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 369 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 370 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 371 // SUCH DAMAGE. 372 // 373 // @(#)cdefs.h 8.7 (Berkeley) 1/21/94 374 375 // $OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ 376 377 // Macro to test if we're using a specific version of gcc or later. 378 379 // The __CONCAT macro is used to concatenate parts of symbol names, e.g. 380 // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. 381 // The __CONCAT macro is a bit tricky -- make sure you don't put spaces 382 // in between its arguments. Do not use __CONCAT on double-quoted strings, 383 // such as those from the __STRING macro: to concatenate strings just put 384 // them next to each other. 385 386 // GCC1 and some versions of GCC2 declare dead (non-returning) and 387 // pure (no side effects) functions using "volatile" and "const"; 388 // unfortunately, these then cause warnings under "-ansi -pedantic". 389 // GCC >= 2.5 uses the __attribute__((attrs)) style. All of these 390 // work for GNU C++ (modulo a slight glitch in the C++ grammar in 391 // the distribution version of 2.5.5). 392 393 // __returns_twice makes the compiler not assume the function 394 // only returns once. This affects registerisation of variables: 395 // even local variables need to be in memory across such a call. 396 // Example: setjmp() 397 398 // __only_inline makes the compiler only use this function definition 399 // for inlining; references that can't be inlined will be left as 400 // external references instead of generating a local copy. The 401 // matching library should include a simple extern definition for 402 // the function to handle those references. c.f. ctype.h 403 404 // GNU C version 2.96 adds explicit branch prediction so that 405 // the CPU back-end can hint the processor and also so that 406 // code blocks can be reordered such that the predicted path 407 // sees a more linear flow, thus improving cache behavior, etc. 408 // 409 // The following two macros provide us with a way to utilize this 410 // compiler feature. Use __predict_true() if you expect the expression 411 // to evaluate to true, and __predict_false() if you expect the 412 // expression to evaluate to false. 413 // 414 // A few notes about usage: 415 // 416 // * Generally, __predict_false() error condition checks (unless 417 // you have some _strong_ reason to do otherwise, in which case 418 // document it), and/or __predict_true() `no-error' condition 419 // checks, assuming you want to optimize for the no-error case. 420 // 421 // * Other than that, if you don't know the likelihood of a test 422 // succeeding from empirical or other `hard' evidence, don't 423 // make predictions. 424 // 425 // * These are meant to be used in places that are run `a lot'. 426 // It is wasteful to make predictions in code that is run 427 // seldomly (e.g. at subsystem initialization time) as the 428 // basic block reordering that this affects can often generate 429 // larger code. 430 431 // Delete pseudo-keywords wherever they are not available or needed. 432 433 // The __packed macro indicates that a variable or structure members 434 // should have the smallest possible alignment, despite any host CPU 435 // alignment requirements. 436 // 437 // The __aligned(x) macro specifies the minimum alignment of a 438 // variable or structure. 439 // 440 // These macros together are useful for describing the layout and 441 // alignment of messages exchanged with hardware or other systems. 442 443 // "The nice thing about standards is that there are so many to choose from." 444 // There are a number of "feature test macros" specified by (different) 445 // standards that determine which interfaces and types the header files 446 // should expose. 447 // 448 // Because of inconsistencies in these macros, we define our own 449 // set in the private name space that end in _VISIBLE. These are 450 // always defined and so headers can test their values easily. 451 // Things can get tricky when multiple feature macros are defined. 452 // We try to take the union of all the features requested. 453 // 454 // The following macros are guaranteed to have a value after cdefs.h 455 // has been included: 456 // __POSIX_VISIBLE 457 // __XPG_VISIBLE 458 // __ISO_C_VISIBLE 459 // __BSD_VISIBLE 460 461 // X/Open Portability Guides and Single Unix Specifications. 462 // _XOPEN_SOURCE XPG3 463 // _XOPEN_SOURCE && _XOPEN_VERSION = 4 XPG4 464 // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1 XPG4v2 465 // _XOPEN_SOURCE == 500 XPG5 466 // _XOPEN_SOURCE == 520 XPG5v2 467 // _XOPEN_SOURCE == 600 POSIX 1003.1-2001 with XSI 468 // _XOPEN_SOURCE == 700 POSIX 1003.1-2008 with XSI 469 // 470 // The XPG spec implies a specific value for _POSIX_C_SOURCE. 471 472 // POSIX macros, these checks must follow the XOPEN ones above. 473 // 474 // _POSIX_SOURCE == 1 1003.1-1988 (superseded by _POSIX_C_SOURCE) 475 // _POSIX_C_SOURCE == 1 1003.1-1990 476 // _POSIX_C_SOURCE == 2 1003.2-1992 477 // _POSIX_C_SOURCE == 199309L 1003.1b-1993 478 // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, 479 // and the omnibus ISO/IEC 9945-1:1996 480 // _POSIX_C_SOURCE == 200112L 1003.1-2001 481 // _POSIX_C_SOURCE == 200809L 1003.1-2008 482 // 483 // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though 484 // this may be overridden by the _ISOC99_SOURCE macro later. 485 486 // _ANSI_SOURCE means to expose ANSI C89 interfaces only. 487 // If the user defines it in addition to one of the POSIX or XOPEN 488 // macros, assume the POSIX/XOPEN macro(s) should take precedence. 489 490 // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus 491 // override any of the other macros since they are non-exclusive. 492 493 // Finally deal with BSD-specific interfaces that are not covered 494 // by any standards. We expose these when none of the POSIX or XPG 495 // macros is defined or if the user explicitly asks for them. 496 497 // Default values. 498 499 type Nl_catd = uintptr /* nl_types.h:81:3 */ 500 501 type Nl_item = int64 /* nl_types.h:83:14 */ 502 503 type Locale_t = uintptr /* langinfo.h:76:14 */ 504 505 var _ int8 /* gen.c:2:13: */