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