diff options
author | dzwdz | 2022-08-19 15:37:42 +0200 |
---|---|---|
committer | dzwdz | 2022-08-19 15:37:42 +0200 |
commit | 05f93a814a9b5fa6b0f3223fc51566c84b92d158 (patch) | |
tree | b430bda5fd26c3cd7e273eda31171bf94100f9f1 /src/user/lib/file.h | |
parent | 0ed2f796d7723af8321f35d4ef5e6781ea41e36d (diff) |
user/libc: fextflags, add nonbuffering mode for fread
useful for e.g. `hexdump -r /kdev/eth` to see packets as they come in
Diffstat (limited to 'src/user/lib/file.h')
-rw-r--r-- | src/user/lib/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/lib/file.h b/src/user/lib/file.h index 8652566..604b070 100644 --- a/src/user/lib/file.h +++ b/src/user/lib/file.h @@ -6,4 +6,5 @@ struct _LIBC_FILE { long pos; bool eof; bool error; + int extflags; }; |