From 642b5fb0007b64c77d186fcb018d571152ee1d47 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 14 Aug 2023 18:51:07 +0200 Subject: reorganization: first steps --- src/libc/stdio/file.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/libc/stdio/file.h (limited to 'src/libc/stdio/file.h') diff --git a/src/libc/stdio/file.h b/src/libc/stdio/file.h new file mode 100644 index 0000000..3bd64a1 --- /dev/null +++ b/src/libc/stdio/file.h @@ -0,0 +1,14 @@ +#pragma once +#include +#include + +struct _LIBC_FILE { + int fd; + long pos; + bool eof; + bool error; + int extflags; + + char *readbuf; + size_t rblen, rbcap; +}; -- cgit v1.2.3