summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/vfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs/vfile.h')
-rw-r--r--src/kernel/vfs/vfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/vfile.h b/src/kernel/vfs/vfile.h
index 9b68b68..ffbccf9 100644
--- a/src/kernel/vfs/vfile.h
+++ b/src/kernel/vfs/vfile.h
@@ -13,7 +13,7 @@ class vfile : public node {
vfile(node* parent, char* data = 0, size_t size = 0);
virtual ~vfile();
- // TODO: handle open(TRUNC)
+ virtual int open(process *proc, int mode);
virtual int read(size_t offset, size_t len, char* buffer);
virtual int write(size_t offset, size_t len, char* buffer);
virtual size_t get_size() { return size; }