From 05f93a814a9b5fa6b0f3223fc51566c84b92d158 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 19 Aug 2022 15:37:42 +0200 Subject: user/libc: fextflags, add nonbuffering mode for fread useful for e.g. `hexdump -r /kdev/eth` to see packets as they come in --- src/user/lib/file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/lib/file.h') 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; }; -- cgit v1.2.3