gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

stdio_linux_amd64.go (23047B)


      1 // Code generated by 'ccgo stdio/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 stdio/stdio_linux_amd64.go -pkgname stdio', DO NOT EDIT.
      2 
      3 package stdio
      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 	BUFSIZ                = 8192   // stdio.h:99:1:
     19 	EOF                   = -1     // stdio.h:104:1:
     20 	FILENAME_MAX          = 4096   // stdio_lim.h:27:1:
     21 	FOPEN_MAX             = 16     // stdio_lim.h:37:1:
     22 	L_ctermid             = 9      // stdio_lim.h:30:1:
     23 	L_tmpnam              = 20     // stdio_lim.h:25:1:
     24 	P_tmpdir              = "/tmp" // stdio.h:120:1:
     25 	SEEK_CUR              = 1      // stdio.h:110:1:
     26 	SEEK_END              = 2      // stdio.h:111:1:
     27 	SEEK_SET              = 0      // stdio.h:109:1:
     28 	TMP_MAX               = 238328 // stdio_lim.h:26:1:
     29 	X_ATFILE_SOURCE       = 1      // features.h:342:1:
     30 	X_BITS_STDIO_LIM_H    = 1      // stdio_lim.h:19:1:
     31 	X_BITS_TIME64_H       = 1      // time64.h:24:1:
     32 	X_BITS_TYPESIZES_H    = 1      // typesizes.h:24:1:
     33 	X_BITS_TYPES_H        = 1      // types.h:24:1:
     34 	X_BSD_SIZE_T_         = 0      // stddef.h:189:1:
     35 	X_BSD_SIZE_T_DEFINED_ = 0      // stddef.h:192:1:
     36 	X_DEFAULT_SOURCE      = 1      // features.h:227:1:
     37 	X_FEATURES_H          = 1      // features.h:19:1:
     38 	X_FILE_OFFSET_BITS    = 64     // <builtin>:25:1:
     39 	X_GCC_SIZE_T          = 0      // stddef.h:195:1:
     40 	X_IOFBF               = 0      // stdio.h:93:1:
     41 	X_IOLBF               = 1      // stdio.h:94:1:
     42 	X_IONBF               = 2      // stdio.h:95:1:
     43 	X_IO_EOF_SEEN         = 0x0010 // struct_FILE.h:111:1:
     44 	X_IO_ERR_SEEN         = 0x0020 // struct_FILE.h:114:1:
     45 	X_IO_USER_LOCK        = 0x8000 // struct_FILE.h:117:1:
     46 	X_LP64                = 1      // <predefined>:284:1:
     47 	X_POSIX_C_SOURCE      = 200809 // features.h:281:1:
     48 	X_POSIX_SOURCE        = 1      // features.h:279:1:
     49 	X_SIZET_              = 0      // stddef.h:196:1:
     50 	X_SIZE_T              = 0      // stddef.h:183:1:
     51 	X_SIZE_T_             = 0      // stddef.h:188:1:
     52 	X_SIZE_T_DECLARED     = 0      // stddef.h:193:1:
     53 	X_SIZE_T_DEFINED      = 0      // stddef.h:191:1:
     54 	X_SIZE_T_DEFINED_     = 0      // stddef.h:190:1:
     55 	X_STDC_PREDEF_H       = 1      // <predefined>:162:1:
     56 	X_STDIO_H             = 1      // stdio.h:24:1:
     57 	X_SYS_CDEFS_H         = 1      // cdefs.h:19:1:
     58 	X_SYS_SIZE_T_H        = 0      // stddef.h:184:1:
     59 	X_T_SIZE              = 0      // stddef.h:186:1:
     60 	X_T_SIZE_             = 0      // stddef.h:185:1:
     61 	X_VA_LIST_DEFINED     = 0      // stdio.h:53:1:
     62 	Linux                 = 1      // <predefined>:231:1:
     63 	Unix                  = 1      // <predefined>:177:1:
     64 )
     65 
     66 type Ptrdiff_t = int64 /* <builtin>:3:26 */
     67 
     68 type Size_t = uint64 /* <builtin>:9:23 */
     69 
     70 type Wchar_t = int32 /* <builtin>:15:24 */
     71 
     72 type X__int128_t = struct {
     73 	Flo int64
     74 	Fhi int64
     75 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
     76 type X__uint128_t = struct {
     77 	Flo uint64
     78 	Fhi uint64
     79 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
     80 
     81 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
     82 type X__float128 = float64        /* <builtin>:47:21 */
     83 
     84 // Wide character type.
     85 //    Locale-writers should change this as necessary to
     86 //    be big enough to hold unique values not between 0 and 127,
     87 //    and not (wchar_t) -1, for each defined multibyte character.
     88 
     89 // Define this type if we are doing the whole job,
     90 //    or if we want this type in particular.
     91 
     92 // A null pointer constant.
     93 
     94 // Copyright (C) 1989-2020 Free Software Foundation, Inc.
     95 //
     96 // This file is part of GCC.
     97 //
     98 // GCC is free software; you can redistribute it and/or modify
     99 // it under the terms of the GNU General Public License as published by
    100 // the Free Software Foundation; either version 3, or (at your option)
    101 // any later version.
    102 //
    103 // GCC is distributed in the hope that it will be useful,
    104 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    105 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    106 // GNU General Public License for more details.
    107 //
    108 // Under Section 7 of GPL version 3, you are granted additional
    109 // permissions described in the GCC Runtime Library Exception, version
    110 // 3.1, as published by the Free Software Foundation.
    111 //
    112 // You should have received a copy of the GNU General Public License and
    113 // a copy of the GCC Runtime Library Exception along with this program;
    114 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    115 // <http://www.gnu.org/licenses/>.
    116 
    117 // ISO C Standard:  7.15  Variable arguments  <stdarg.h>
    118 
    119 // Define __gnuc_va_list.
    120 
    121 type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
    122 
    123 // Define the standard macros for the user,
    124 //    if this invocation was from the user program.
    125 
    126 // bits/types.h -- definitions of __*_t types underlying *_t types.
    127 //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
    128 //    This file is part of the GNU C Library.
    129 //
    130 //    The GNU C Library is free software; you can redistribute it and/or
    131 //    modify it under the terms of the GNU Lesser General Public
    132 //    License as published by the Free Software Foundation; either
    133 //    version 2.1 of the License, or (at your option) any later version.
    134 //
    135 //    The GNU C Library is distributed in the hope that it will be useful,
    136 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    137 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    138 //    Lesser General Public License for more details.
    139 //
    140 //    You should have received a copy of the GNU Lesser General Public
    141 //    License along with the GNU C Library; if not, see
    142 //    <https://www.gnu.org/licenses/>.
    143 
    144 // Never include this file directly; use <sys/types.h> instead.
    145 
    146 // Copyright (C) 1991-2020 Free Software Foundation, Inc.
    147 //    This file is part of the GNU C Library.
    148 //
    149 //    The GNU C Library is free software; you can redistribute it and/or
    150 //    modify it under the terms of the GNU Lesser General Public
    151 //    License as published by the Free Software Foundation; either
    152 //    version 2.1 of the License, or (at your option) any later version.
    153 //
    154 //    The GNU C Library is distributed in the hope that it will be useful,
    155 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    156 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    157 //    Lesser General Public License for more details.
    158 //
    159 //    You should have received a copy of the GNU Lesser General Public
    160 //    License along with the GNU C Library; if not, see
    161 //    <https://www.gnu.org/licenses/>.
    162 
    163 // Determine the wordsize from the preprocessor defines.
    164 
    165 // Both x86-64 and x32 use the 64-bit system call interface.
    166 // Bit size of the time_t type at glibc build time, x86-64 and x32 case.
    167 //    Copyright (C) 2018-2020 Free Software Foundation, Inc.
    168 //    This file is part of the GNU C Library.
    169 //
    170 //    The GNU C Library is free software; you can redistribute it and/or
    171 //    modify it under the terms of the GNU Lesser General Public
    172 //    License as published by the Free Software Foundation; either
    173 //    version 2.1 of the License, or (at your option) any later version.
    174 //
    175 //    The GNU C Library is distributed in the hope that it will be useful,
    176 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    177 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    178 //    Lesser General Public License for more details.
    179 //
    180 //    You should have received a copy of the GNU Lesser General Public
    181 //    License along with the GNU C Library; if not, see
    182 //    <https://www.gnu.org/licenses/>.
    183 
    184 // For others, time size is word size.
    185 
    186 // Convenience types.
    187 type X__u_char = uint8   /* types.h:31:23 */
    188 type X__u_short = uint16 /* types.h:32:28 */
    189 type X__u_int = uint32   /* types.h:33:22 */
    190 type X__u_long = uint64  /* types.h:34:27 */
    191 
    192 // Fixed-size types, underlying types depend on word size and compiler.
    193 type X__int8_t = int8     /* types.h:37:21 */
    194 type X__uint8_t = uint8   /* types.h:38:23 */
    195 type X__int16_t = int16   /* types.h:39:26 */
    196 type X__uint16_t = uint16 /* types.h:40:28 */
    197 type X__int32_t = int32   /* types.h:41:20 */
    198 type X__uint32_t = uint32 /* types.h:42:22 */
    199 type X__int64_t = int64   /* types.h:44:25 */
    200 type X__uint64_t = uint64 /* types.h:45:27 */
    201 
    202 // Smallest types with at least a given width.
    203 type X__int_least8_t = X__int8_t     /* types.h:52:18 */
    204 type X__uint_least8_t = X__uint8_t   /* types.h:53:19 */
    205 type X__int_least16_t = X__int16_t   /* types.h:54:19 */
    206 type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
    207 type X__int_least32_t = X__int32_t   /* types.h:56:19 */
    208 type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
    209 type X__int_least64_t = X__int64_t   /* types.h:58:19 */
    210 type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
    211 
    212 // quad_t is also 64 bits.
    213 type X__quad_t = int64    /* types.h:63:18 */
    214 type X__u_quad_t = uint64 /* types.h:64:27 */
    215 
    216 // Largest integral types.
    217 type X__intmax_t = int64   /* types.h:72:18 */
    218 type X__uintmax_t = uint64 /* types.h:73:27 */
    219 
    220 // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE
    221 //    macros for each of the OS types we define below.  The definitions
    222 //    of those macros must use the following macros for underlying types.
    223 //    We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned
    224 //    variants of each of the following integer types on this machine.
    225 //
    226 // 	16		-- "natural" 16-bit type (always short)
    227 // 	32		-- "natural" 32-bit type (always int)
    228 // 	64		-- "natural" 64-bit type (long or long long)
    229 // 	LONG32		-- 32-bit type, traditionally long
    230 // 	QUAD		-- 64-bit type, traditionally long long
    231 // 	WORD		-- natural type of __WORDSIZE bits (int or long)
    232 // 	LONGWORD	-- type of __WORDSIZE bits, traditionally long
    233 //
    234 //    We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the
    235 //    conventional uses of `long' or `long long' type modifiers match the
    236 //    types we define, even when a less-adorned type would be the same size.
    237 //    This matters for (somewhat) portably writing printf/scanf formats for
    238 //    these types, where using the appropriate l or ll format modifiers can
    239 //    make the typedefs and the formats match up across all GNU platforms.  If
    240 //    we used `long' when it's 64 bits where `long long' is expected, then the
    241 //    compiler would warn about the formats not matching the argument types,
    242 //    and the programmer changing them to shut up the compiler would break the
    243 //    program's portability.
    244 //
    245 //    Here we assume what is presently the case in all the GCC configurations
    246 //    we support: long long is always 64 bits, long is always word/address size,
    247 //    and int is always 32 bits.
    248 
    249 // No need to mark the typedef with __extension__.
    250 // bits/typesizes.h -- underlying types for *_t.  Linux/x86-64 version.
    251 //    Copyright (C) 2012-2020 Free Software Foundation, Inc.
    252 //    This file is part of the GNU C Library.
    253 //
    254 //    The GNU C Library is free software; you can redistribute it and/or
    255 //    modify it under the terms of the GNU Lesser General Public
    256 //    License as published by the Free Software Foundation; either
    257 //    version 2.1 of the License, or (at your option) any later version.
    258 //
    259 //    The GNU C Library is distributed in the hope that it will be useful,
    260 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    261 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    262 //    Lesser General Public License for more details.
    263 //
    264 //    You should have received a copy of the GNU Lesser General Public
    265 //    License along with the GNU C Library; if not, see
    266 //    <https://www.gnu.org/licenses/>.
    267 
    268 // See <bits/types.h> for the meaning of these macros.  This file exists so
    269 //    that <bits/types.h> need not vary across different GNU platforms.
    270 
    271 // X32 kernel interface is 64-bit.
    272 
    273 // Tell the libc code that off_t and off64_t are actually the same type
    274 //    for all ABI purposes, even if possibly expressed as different base types
    275 //    for C type-checking purposes.
    276 
    277 // Same for ino_t and ino64_t.
    278 
    279 // And for __rlim_t and __rlim64_t.
    280 
    281 // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
    282 
    283 // Number of descriptors that can fit in an `fd_set'.
    284 
    285 // bits/time64.h -- underlying types for __time64_t.  Generic version.
    286 //    Copyright (C) 2018-2020 Free Software Foundation, Inc.
    287 //    This file is part of the GNU C Library.
    288 //
    289 //    The GNU C Library is free software; you can redistribute it and/or
    290 //    modify it under the terms of the GNU Lesser General Public
    291 //    License as published by the Free Software Foundation; either
    292 //    version 2.1 of the License, or (at your option) any later version.
    293 //
    294 //    The GNU C Library is distributed in the hope that it will be useful,
    295 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    296 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    297 //    Lesser General Public License for more details.
    298 //
    299 //    You should have received a copy of the GNU Lesser General Public
    300 //    License along with the GNU C Library; if not, see
    301 //    <https://www.gnu.org/licenses/>.
    302 
    303 // Define __TIME64_T_TYPE so that it is always a 64-bit type.
    304 
    305 // If we already have 64-bit time type then use it.
    306 
    307 type X__dev_t = uint64                     /* types.h:145:25 */ // Type of device numbers.
    308 type X__uid_t = uint32                     /* types.h:146:25 */ // Type of user identifications.
    309 type X__gid_t = uint32                     /* types.h:147:25 */ // Type of group identifications.
    310 type X__ino_t = uint64                     /* types.h:148:25 */ // Type of file serial numbers.
    311 type X__ino64_t = uint64                   /* types.h:149:27 */ // Type of file serial numbers (LFS).
    312 type X__mode_t = uint32                    /* types.h:150:26 */ // Type of file attribute bitmasks.
    313 type X__nlink_t = uint64                   /* types.h:151:27 */ // Type of file link counts.
    314 type X__off_t = int64                      /* types.h:152:25 */ // Type of file sizes and offsets.
    315 type X__off64_t = int64                    /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
    316 type X__pid_t = int32                      /* types.h:154:25 */ // Type of process identifications.
    317 type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
    318 type X__clock_t = int64                    /* types.h:156:27 */ // Type of CPU usage counts.
    319 type X__rlim_t = uint64                    /* types.h:157:26 */ // Type for resource measurement.
    320 type X__rlim64_t = uint64                  /* types.h:158:28 */ // Type for resource measurement (LFS).
    321 type X__id_t = uint32                      /* types.h:159:24 */ // General type for IDs.
    322 type X__time_t = int64                     /* types.h:160:26 */ // Seconds since the Epoch.
    323 type X__useconds_t = uint32                /* types.h:161:30 */ // Count of microseconds.
    324 type X__suseconds_t = int64                /* types.h:162:31 */ // Signed count of microseconds.
    325 
    326 type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
    327 type X__key_t = int32   /* types.h:165:25 */ // Type of an IPC key.
    328 
    329 // Clock ID used in clock and timer functions.
    330 type X__clockid_t = int32 /* types.h:168:29 */
    331 
    332 // Timer ID returned by `timer_create'.
    333 type X__timer_t = uintptr /* types.h:171:12 */
    334 
    335 // Type to represent block size.
    336 type X__blksize_t = int64 /* types.h:174:29 */
    337 
    338 // Types from the Large File Support interface.
    339 
    340 // Type to count number of disk blocks.
    341 type X__blkcnt_t = int64   /* types.h:179:28 */
    342 type X__blkcnt64_t = int64 /* types.h:180:30 */
    343 
    344 // Type to count file system blocks.
    345 type X__fsblkcnt_t = uint64   /* types.h:183:30 */
    346 type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
    347 
    348 // Type to count file system nodes.
    349 type X__fsfilcnt_t = uint64   /* types.h:187:30 */
    350 type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
    351 
    352 // Type of miscellaneous file system fields.
    353 type X__fsword_t = int64 /* types.h:191:28 */
    354 
    355 type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
    356 
    357 // Signed long type used in system calls.
    358 type X__syscall_slong_t = int64 /* types.h:196:33 */
    359 // Unsigned long type used in system calls.
    360 type X__syscall_ulong_t = uint64 /* types.h:198:33 */
    361 
    362 // These few don't really vary by system, they always correspond
    363 //
    364 //	to one of the other defined types.
    365 type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
    366 type X__caddr_t = uintptr   /* types.h:203:14 */
    367 
    368 // Duplicates info from stdint.h but this is used in unistd.h.
    369 type X__intptr_t = int64 /* types.h:206:25 */
    370 
    371 // Duplicate info from sys/socket.h.
    372 type X__socklen_t = uint32 /* types.h:209:23 */
    373 
    374 // C99: An integer type that can be accessed as an atomic entity,
    375 //
    376 //	even in the presence of asynchronous interrupts.
    377 //	It is not currently necessary for this to be machine-specific.
    378 type X__sig_atomic_t = int32 /* types.h:214:13 */
    379 
    380 // Seconds since the Epoch, visible to user code when time_t is too
    381 //    narrow only for consistency with the old way of widening too-narrow
    382 //    types.  User code should never use __time64_t.
    383 
    384 // bits/types.h -- definitions of __*_t types underlying *_t types.
    385 //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
    386 //    This file is part of the GNU C Library.
    387 //
    388 //    The GNU C Library is free software; you can redistribute it and/or
    389 //    modify it under the terms of the GNU Lesser General Public
    390 //    License as published by the Free Software Foundation; either
    391 //    version 2.1 of the License, or (at your option) any later version.
    392 //
    393 //    The GNU C Library is distributed in the hope that it will be useful,
    394 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    395 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    396 //    Lesser General Public License for more details.
    397 //
    398 //    You should have received a copy of the GNU Lesser General Public
    399 //    License along with the GNU C Library; if not, see
    400 //    <https://www.gnu.org/licenses/>.
    401 
    402 // Never include this file directly; use <sys/types.h> instead.
    403 
    404 // Integral type unchanged by default argument promotions that can
    405 //    hold any value corresponding to members of the extended character
    406 //    set, as well as at least one value that does not correspond to any
    407 //    member of the extended character set.
    408 
    409 // Conversion state information.
    410 type X__mbstate_t = struct {
    411 	F__count int32
    412 	F__value struct{ F__wch uint32 }
    413 } /* __mbstate_t.h:21:3 */
    414 
    415 // The tag name of this struct is _G_fpos_t to preserve historic
    416 //
    417 //	C++ mangled names for functions taking fpos_t arguments.
    418 //	That name should not be used in new code.
    419 type X_G_fpos_t = struct {
    420 	F__pos   X__off_t
    421 	F__state X__mbstate_t
    422 } /* __fpos_t.h:10:9 */
    423 
    424 // The tag name of this struct is _G_fpos_t to preserve historic
    425 //
    426 //	C++ mangled names for functions taking fpos_t arguments.
    427 //	That name should not be used in new code.
    428 type X__fpos_t = X_G_fpos_t /* __fpos_t.h:14:3 */
    429 
    430 // bits/types.h -- definitions of __*_t types underlying *_t types.
    431 //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
    432 //    This file is part of the GNU C Library.
    433 //
    434 //    The GNU C Library is free software; you can redistribute it and/or
    435 //    modify it under the terms of the GNU Lesser General Public
    436 //    License as published by the Free Software Foundation; either
    437 //    version 2.1 of the License, or (at your option) any later version.
    438 //
    439 //    The GNU C Library is distributed in the hope that it will be useful,
    440 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    441 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    442 //    Lesser General Public License for more details.
    443 //
    444 //    You should have received a copy of the GNU Lesser General Public
    445 //    License along with the GNU C Library; if not, see
    446 //    <https://www.gnu.org/licenses/>.
    447 
    448 // Never include this file directly; use <sys/types.h> instead.
    449 
    450 // The tag name of this struct is _G_fpos64_t to preserve historic
    451 //
    452 //	C++ mangled names for functions taking fpos_t and/or fpos64_t
    453 //	arguments.  That name should not be used in new code.
    454 type X_G_fpos64_t = struct {
    455 	F__pos   X__off64_t
    456 	F__state X__mbstate_t
    457 } /* __fpos64_t.h:10:9 */
    458 
    459 // bits/types.h -- definitions of __*_t types underlying *_t types.
    460 //    Copyright (C) 2002-2020 Free Software Foundation, Inc.
    461 //    This file is part of the GNU C Library.
    462 //
    463 //    The GNU C Library is free software; you can redistribute it and/or
    464 //    modify it under the terms of the GNU Lesser General Public
    465 //    License as published by the Free Software Foundation; either
    466 //    version 2.1 of the License, or (at your option) any later version.
    467 //
    468 //    The GNU C Library is distributed in the hope that it will be useful,
    469 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    470 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    471 //    Lesser General Public License for more details.
    472 //
    473 //    You should have received a copy of the GNU Lesser General Public
    474 //    License along with the GNU C Library; if not, see
    475 //    <https://www.gnu.org/licenses/>.
    476 
    477 // Never include this file directly; use <sys/types.h> instead.
    478 
    479 // The tag name of this struct is _G_fpos64_t to preserve historic
    480 //
    481 //	C++ mangled names for functions taking fpos_t and/or fpos64_t
    482 //	arguments.  That name should not be used in new code.
    483 type X__fpos64_t = X_G_fpos64_t /* __fpos64_t.h:14:3 */
    484 
    485 type X_IO_FILE = struct {
    486 	F_flags          int32
    487 	F__ccgo_pad1     [4]byte
    488 	F_IO_read_ptr    uintptr
    489 	F_IO_read_end    uintptr
    490 	F_IO_read_base   uintptr
    491 	F_IO_write_base  uintptr
    492 	F_IO_write_ptr   uintptr
    493 	F_IO_write_end   uintptr
    494 	F_IO_buf_base    uintptr
    495 	F_IO_buf_end     uintptr
    496 	F_IO_save_base   uintptr
    497 	F_IO_backup_base uintptr
    498 	F_IO_save_end    uintptr
    499 	F_markers        uintptr
    500 	F_chain          uintptr
    501 	F_fileno         int32
    502 	F_flags2         int32
    503 	F_old_offset     X__off_t
    504 	F_cur_column     uint16
    505 	F_vtable_offset  int8
    506 	F_shortbuf       [1]int8
    507 	F__ccgo_pad2     [4]byte
    508 	F_lock           uintptr
    509 	F_offset         X__off64_t
    510 	F_codecvt        uintptr
    511 	F_wide_data      uintptr
    512 	F_freeres_list   uintptr
    513 	F_freeres_buf    uintptr
    514 	F__pad5          Size_t
    515 	F_mode           int32
    516 	F_unused2        [20]int8
    517 } /* __FILE.h:4:1 */
    518 
    519 type X__FILE = X_IO_FILE /* __FILE.h:5:25 */
    520 
    521 // The opaque type of streams.  This is the definition used elsewhere.
    522 type FILE = X_IO_FILE /* FILE.h:7:25 */
    523 
    524 // These macros are used by bits/stdio.h and internal headers.
    525 
    526 // Many more flag bits are defined internally.
    527 
    528 type Va_list = X__gnuc_va_list /* stdio.h:52:24 */
    529 
    530 type Off_t = X__off64_t /* stdio.h:65:19 */
    531 
    532 type Ssize_t = X__ssize_t /* stdio.h:77:19 */
    533 
    534 // The type of the second argument to `fgetpos' and `fsetpos'.
    535 type Fpos_t = X__fpos64_t /* stdio.h:86:20 */
    536 
    537 // If we are compiling with optimizing read this file.  It contains
    538 //    several optimizing inline functions and macros.
    539 
    540 var _ int8 /* gen.c:2:13: */