diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-19 23:01:43 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-19 23:01:43 -0400 |
commit | 4d4d412ca48802200933eb0e2b0b007855d4aa7d (patch) | |
tree | 0596f149920cdeb20dabcb56032dae5159a13f48 /sys/include | |
parent | ed34392443c411214e6e91c3f912185115a39175 (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.h | 1 |
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 { |