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