From b778be744f509b515e195e05afe0908e1cd92e11 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 14 Jan 2017 09:47:55 +0100 Subject: Noncommited changes. --- src/lib/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/include') 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; -- cgit v1.2.3