Home
last modified time | relevance | path

Searched defs:__file (Results 1 – 2 of 2) sorted by relevance

/picolibc-latest/newlib/libc/stdio/
Dstdio.h100 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 *,
[all …]
/picolibc-latest/newlib/libc/tinystdio/
Dstdio.h82 struct __file { struct
93 int (*put)(char, struct __file *); /* function to write one char to device */ argument
94 int (*get)(struct __file *); /* function to read one char from device */ argument
95 int (*flush)(struct __file *); /* function to flush output to device */ argument