/
usr
/
include
/
bits
/
types
/
/usr/include/bits/types
mkdir
upload
Name
Size
Mode
Actions
clockid_t.h
174
0644
edit
dl
rm
clock_t.h
143
0644
edit
dl
rm
cookie_io_functions_t.h
2725
0644
edit
dl
rm
error_t.h
894
0644
edit
dl
rm
FILE.h
180
0644
edit
dl
rm
locale_t.h
983
0644
edit
dl
rm
mbstate_t.h
135
0644
edit
dl
rm
res_state.h
2009
0644
edit
dl
rm
sigevent_t.h
1204
0644
edit
dl
rm
siginfo_t.h
3892
0644
edit
dl
rm
sigset_t.h
195
0644
edit
dl
rm
sigval_t.h
599
0644
edit
dl
rm
sig_atomic_t.h
272
0644
edit
dl
rm
stack_t.h
1062
0644
edit
dl
rm
struct_FILE.h
4588
0644
edit
dl
rm
struct_iovec.h
1066
0644
edit
dl
rm
struct_itimerspec.h
288
0644
edit
dl
rm
struct_msqid64_ds.h
1094
0644
edit
dl
rm
struct_msqid64_ds_helper.h
1517
0644
edit
dl
rm
struct_msqid_ds.h
2127
0644
edit
dl
rm
struct_osockaddr.h
274
0644
edit
dl
rm
struct_rusage.h
4121
0644
edit
dl
rm
struct_sched_param.h
1073
0644
edit
dl
rm
struct_semid64_ds.h
1109
0644
edit
dl
rm
struct_semid64_ds_helper.h
1212
0644
edit
dl
rm
struct_semid_ds.h
1518
0644
edit
dl
rm
struct_shmid64_ds.h
1111
0644
edit
dl
rm
struct_shmid64_ds_helper.h
1353
0644
edit
dl
rm
struct_shmid_ds.h
1993
0644
edit
dl
rm
struct_sigstack.h
1073
0644
edit
dl
rm
struct_statx.h
1897
0644
edit
dl
rm
struct_statx_timestamp.h
1202
0644
edit
dl
rm
struct_timeb.h
413
0644
edit
dl
rm
struct_timespec.h
867
0644
edit
dl
rm
struct_timeval.h
411
0644
edit
dl
rm
struct_tm.h
760
0644
edit
dl
rm
struct___jmp_buf_tag.h
1467
0644
edit
dl
rm
timer_t.h
159
0644
edit
dl
rm
time_t.h
203
0644
edit
dl
rm
wint_t.h
796
0644
edit
dl
rm
__FILE.h
110
0644
edit
dl
rm
__fpos64_t.h
410
0644
edit
dl
rm
__fpos_t.h
381
0644
edit
dl
rm
__locale_t.h
1722
0644
edit
dl
rm
__mbstate_t.h
564
0644
edit
dl
rm
__sigset_t.h
206
0644
edit
dl
rm
__sigval_t.h
1148
0644
edit
dl
rm
Edit:
/usr/include/bits/types/struct_FILE.h
(4588B)
/* Copyright (C) 1991-2021 Free Software Foundation, Inc. Copyright The GNU Toolchain Authors. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ #ifndef __struct_FILE_defined #define __struct_FILE_defined 1 /* Caution: The contents of this file are not part of the official stdio.h API. However, much of it is part of the official *binary* interface, and therefore cannot be changed. */ #if defined _IO_USE_OLD_IO_FILE && !defined _LIBC # error "_IO_USE_OLD_IO_FILE should only be defined when building libc itself" #endif #if defined _IO_lock_t_defined && !defined _LIBC # error "_IO_lock_t_defined should only be defined when building libc itself" #endif #include <bits/types.h> #include <bits/wordsize.h> struct _IO_FILE; struct _IO_marker; struct _IO_codecvt; struct _IO_wide_data; /* During the build of glibc itself, _IO_lock_t will already have been defined by internal headers. */ #ifndef _IO_lock_t_defined typedef void _IO_lock_t; #endif /* The tag name of this struct is _IO_FILE to preserve historic C++ mangled names for functions taking FILE* arguments. That name should not be used in new code. */ struct _IO_FILE { int _flags; /* High-order word is _IO_MAGIC; rest is flags. */ /* The following pointers correspond to the C++ streambuf protocol. */ char *_IO_read_ptr; /* Current read pointer */ char *_IO_read_end; /* End of get area. */ char *_IO_read_base; /* Start of putback+get area. */ char *_IO_write_base; /* Start of put area. */ char *_IO_write_ptr; /* Current put pointer. */ char *_IO_write_end; /* End of put area. */ char *_IO_buf_base; /* Start of reserve area. */ char *_IO_buf_end; /* End of reserve area. */ /* The following fields are used to support backing up and undo. */ char *_IO_save_base; /* Pointer to start of non-current get area. */ char *_IO_backup_base; /* Pointer to first valid character of backup area */ char *_IO_save_end; /* Pointer to end of non-current get area. */ struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; #ifdef _LIBC int _flags2:24; /* Fallback buffer to use when malloc fails to allocate one. */ char _short_backupbuf[1]; #else /* Legacy ABI for ABI checking outside of glibc. */ int _flags2; #endif __off_t _old_offset; /* This used to be _offset but it's too small. */ /* 1+column number of pbase(); 0 is unknown. */ unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; #ifdef _IO_USE_OLD_IO_FILE }; struct _IO_FILE_complete { struct _IO_FILE _file; #endif __off64_t _offset; /* Wide character stream stuff. */ struct _IO_codecvt *_codecvt; struct _IO_wide_data *_wide_data; struct _IO_FILE *_freeres_list; void *_freeres_buf; size_t __pad5; int _mode; #ifdef _LIBC # if __WORDSIZE == 64 int _unused3; # endif __uint64_t _total_written; # if __WORDSIZE == 32 int _unused3; # endif /* Make sure we don't get into trouble again. */ char _unused2[12 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; #else char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; #endif }; /* These macros are used by bits/stdio.h and internal headers. */ #define __getc_unlocked_body(_fp) \ (__glibc_unlikely ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end) \ ? __uflow (_fp) : *(unsigned char *) (_fp)->_IO_read_ptr++) #define __putc_unlocked_body(_ch, _fp) \ (__glibc_unlikely ((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end) \ ? __overflow (_fp, (unsigned char) (_ch)) \ : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch))) #define _IO_EOF_SEEN 0x0010 #define __feof_unlocked_body(_fp) (((_fp)->_flags & _IO_EOF_SEEN) != 0) #define _IO_ERR_SEEN 0x0020 #define __ferror_unlocked_body(_fp) (((_fp)->_flags & _IO_ERR_SEEN) != 0) #define _IO_USER_LOCK 0x8000 /* Many more flag bits are defined internally. */ #endif
Save
cmd:
run