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