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