Lines Matching defs:__file
100 struct __file { struct
101 unsigned char *_p; /* current position in (some) buffer */
102 int _r; /* read space left for getc() */
103 int _w; /* write space left for putc() */
104 short _flags; /* flags, below; this FILE is free if 0 */
105 short _file; /* fileno, if Unix descriptor, else -1 */
106 struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
107 int _lbfsize; /* 0 or -_bf._size, for inline putc */
110 void * _cookie; /* cookie passed to io functions */
112 _ssize_t (*_read) (void *,
114 _ssize_t (*_write) (void *,
117 _fpos_t (*_seek) (void *, _fpos_t, int);
118 int (*_close) (void *);
143 struct __file { argument
144 unsigned char *_p; /* current position in (some) buffer */
145 int _r; /* read space left for getc() */
146 int _w; /* write space left for putc() */
147 short _flags; /* flags, below; this FILE is free if 0 */
148 short _file; /* fileno, if Unix descriptor, else -1 */
149 struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
150 int _lbfsize; /* 0 or -_bf._size, for inline putc */
153 void * _cookie; /* cookie passed to io functions */
155 _ssize_t (*_read) (void *,
157 _ssize_t (*_write) (void *,
160 _fpos_t (*_seek) (void *, _fpos_t, int);
161 int (*_close) (void *);
164 struct __sbuf _ub; /* ungetc buffer */
165 unsigned char *_up; /* saved _p when _p is doing ungetc data */
166 int _ur; /* saved _r when _r is counting ungetc data */
169 unsigned char _ubuf[3]; /* guarantee an ungetc() buffer */
170 unsigned char _nbuf[1]; /* guarantee a getc() buffer */
173 struct __sbuf _lb; /* buffer for fgetline() */
176 int _blksize; /* stat.st_blksize (may be != _bf._size) */
177 int _flags2; /* for future use */
179 _off64_t _offset; /* current lseek offset */
180 _fpos64_t (*_seek64) (void *, _fpos64_t, int);
183 _flock_t _lock; /* for thread-safety locking */
185 _mbstate_t _mbstate; /* for wide char stdio functions. */