aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/stdio.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-01-14 09:47:55 +0100
committerAlex Auvolat <alex@adnab.me>2017-01-14 09:47:55 +0100
commitb778be744f509b515e195e05afe0908e1cd92e11 (patch)
treefef566601629c93834f8409326099ecf1558da80 /src/lib/include/stdio.h
parentf9e728e76a3bfd006877c64713cb6a4831f747af (diff)
downloadkogata-b778be744f509b515e195e05afe0908e1cd92e11.tar.gz
kogata-b778be744f509b515e195e05afe0908e1cd92e11.zip
Noncommited changes.
Diffstat (limited to 'src/lib/include/stdio.h')
-rw-r--r--src/lib/include/stdio.h3
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;