diff options
author | Alex Auvolat <alex@adnab.me> | 2017-01-14 09:47:55 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-01-14 09:47:55 +0100 |
commit | b778be744f509b515e195e05afe0908e1cd92e11 (patch) | |
tree | fef566601629c93834f8409326099ecf1558da80 /src/lib/include | |
parent | f9e728e76a3bfd006877c64713cb6a4831f747af (diff) | |
download | kogata-b778be744f509b515e195e05afe0908e1cd92e11.tar.gz kogata-b778be744f509b515e195e05afe0908e1cd92e11.zip |
Noncommited changes.
Diffstat (limited to 'src/lib/include')
-rw-r--r-- | src/lib/include/stdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/include/stdio.h b/src/lib/include/stdio.h index 9048ecb..1555296 100644 --- a/src/lib/include/stdio.h +++ b/src/lib/include/stdio.h @@ -12,6 +12,8 @@ void setup_libc_stdio(); #define BUFSIZ 256 +#define STDIO_FL_EOF 1 +#define STDIO_FL_ERR 2 struct file_t { fd_t fd; @@ -19,6 +21,7 @@ struct file_t { int file_mode; size_t pos; + int flags; int buf_mode; char *out_buf; |