summaryrefslogtreecommitdiff
path: root/src/user/lib/stdio/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/stdio/file.h')
-rw-r--r--src/user/lib/stdio/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/lib/stdio/file.h b/src/user/lib/stdio/file.h
index 604b070..3bd64a1 100644
--- a/src/user/lib/stdio/file.h
+++ b/src/user/lib/stdio/file.h
@@ -1,5 +1,6 @@
#pragma once
#include <stdbool.h>
+#include <stdio.h>
struct _LIBC_FILE {
int fd;
@@ -7,4 +8,7 @@ struct _LIBC_FILE {
bool eof;
bool error;
int extflags;
+
+ char *readbuf;
+ size_t rblen, rbcap;
};