From 137dcb3e207b264c467f4b2b13df2316b8b0a67c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 22:04:19 +0200 Subject: user/libc: fread, fwrite, fclose --- src/user/lib/include/bits/file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/lib/include/bits/file.h') diff --git a/src/user/lib/include/bits/file.h b/src/user/lib/include/bits/file.h index 74a8c17..e50d402 100644 --- a/src/user/lib/include/bits/file.h +++ b/src/user/lib/include/bits/file.h @@ -5,5 +5,6 @@ struct FILE { int fd; int pos; bool eof; + bool error; }; typedef struct FILE FILE; -- cgit v1.2.3