aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-19 23:01:43 -0400
committerIan Moffett <ian@osmora.org>2024-03-19 23:01:43 -0400
commit4d4d412ca48802200933eb0e2b0b007855d4aa7d (patch)
tree0596f149920cdeb20dabcb56032dae5159a13f48 /sys/include
parented34392443c411214e6e91c3f912185115a39175 (diff)
kernel: vnode: Add write() vop
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/vnode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/vnode.h b/sys/include/sys/vnode.h
index 4ad76c6..11bbf99 100644
--- a/sys/include/sys/vnode.h
+++ b/sys/include/sys/vnode.h
@@ -39,6 +39,7 @@ struct vnode;
struct vops {
int(*vget)(struct vnode *parent, const char *name, struct vnode **vp);
int(*read)(struct vnode *vp, char *buf, size_t count);
+ int(*write)(struct vnode *vp, const char *buf, size_t count);
};
struct vnode {