Lines Matching defs:__sFILE
61 struct __sFILE { struct
62 unsigned char* _p; /* current position in (some) buffer */
63 int _r; /* read space left for getc() */
64 int _w; /* write space left for putc() */
66 int _flags; /* flags, below; this FILE is free if 0 */
67 int _file; /* fileno, if Unix descriptor, else -1 */
69 short _flags; /* flags, below; this FILE is free if 0 */
70 short _file; /* fileno, if Unix descriptor, else -1 */
72 struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
73 int _lbfsize; /* 0 or -_bf._size, for inline putc */
79 void* _cookie; /* cookie passed to io functions */
80 int (*_close)(void*);
81 int (*_read)(void*, char*, int);
82 fpos_t (*_seek)(void*, fpos_t, int);
83 int (*_write)(void*, const char*, int);
86 struct __sbuf _ext;
88 unsigned char* _up; /* saved _p when _p is doing ungetc data */
89 int _ur; /* saved _r when _r is counting ungetc data */
92 unsigned char _ubuf[3]; /* guarantee an ungetc() buffer */
93 unsigned char _nbuf[1]; /* guarantee a getc() buffer */
96 struct __sbuf _lb; /* buffer for fgetln() */
99 int _blksize; /* stat.st_blksize (may be != _bf._size) */
101 fpos_t _unused_0; // This was the `_offset` field (see below).