gtsocial-umbx

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

stdio_linux_arm.go (22960B)


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