diff options
author | dzwdz | 2022-07-26 20:40:29 +0200 |
---|---|---|
committer | dzwdz | 2022-07-26 20:44:29 +0200 |
commit | 599c916d4cdd06765e0869b0a4d685820384f500 (patch) | |
tree | 7355c35189a4b6e92249f59c76e6d89d5b432f29 /src/user/lib/include/bits/file.h | |
parent | 350124fb4cfefc90c8f4a60de3da3c5d7da44f01 (diff) |
user: posix-compatible FILE* opening
Diffstat (limited to 'src/user/lib/include/bits/file.h')
-rw-r--r-- | src/user/lib/include/bits/file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/include/bits/file.h b/src/user/lib/include/bits/file.h index d37b7de..74a8c17 100644 --- a/src/user/lib/include/bits/file.h +++ b/src/user/lib/include/bits/file.h @@ -1,9 +1,9 @@ #pragma once #include <stdbool.h> // TODO make opaque -struct libc_file { +struct FILE { int fd; int pos; bool eof; }; -typedef struct libc_file libc_file; +typedef struct FILE FILE; |