aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-18 18:30:42 -0400
committerIan Moffett <ian@osmora.org>2024-04-18 18:30:42 -0400
commitb75dd3a112708584a930f85d345835f36a722f5a (patch)
treef1b5f7a7038095ffb9c14a9dd5e0ca2ab23ecf92 /sys/include
parent265d015c932772bdfc67ea1058188f21dc93ed04 (diff)
kernel: filedesc: Handle multiple oflag bits
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/filedesc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/filedesc.h b/sys/include/sys/filedesc.h
index 83c32ee..f8f9ba6 100644
--- a/sys/include/sys/filedesc.h
+++ b/sys/include/sys/filedesc.h
@@ -47,6 +47,7 @@ struct proc;
struct filedesc {
int fdno;
+ int oflag;
off_t offset;
bool is_dir;
struct vnode *vnode;