gtsocial-umbx

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

stdio_linux_ppc64le.go (23723B)


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