From e6584db26da34572fb13aa236e16e19f71c8e976 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 26 Aug 2022 14:16:16 +0200 Subject: user/libc: prepare for OpenED port --- src/user/lib/stdio/file.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/user/lib/stdio/file.h (limited to 'src/user/lib/stdio/file.h') diff --git a/src/user/lib/stdio/file.h b/src/user/lib/stdio/file.h new file mode 100644 index 0000000..604b070 --- /dev/null +++ b/src/user/lib/stdio/file.h @@ -0,0 +1,10 @@ +#pragma once +#include + +struct _LIBC_FILE { + int fd; + long pos; + bool eof; + bool error; + int extflags; +}; -- cgit v1.2.3