source:
EcnlProtoTool/trunk/musl-1.1.18/src/stdio/stdin.c@
444
Last change on this file since 444 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 315 bytes |
Line | |
---|---|
1 | #include "stdio_impl.h" |
2 | |
3 | static unsigned char buf[BUFSIZ+UNGET]; |
4 | static FILE f = { |
5 | .buf = buf+UNGET, |
6 | .buf_size = sizeof buf-UNGET, |
7 | .fd = 0, |
8 | .flags = F_PERM | F_NOWR, |
9 | .read = __stdio_read, |
10 | .seek = __stdio_seek, |
11 | .close = __stdio_close, |
12 | .lock = -1, |
13 | }; |
14 | FILE *const stdin = &f; |
15 | FILE *volatile __stdin_used = &f; |
Note:
See TracBrowser
for help on using the repository browser.