diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-10 17:18:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-10 17:18:13 +0100 |
commit | ef50c1c0de9e992db9144571e7f08e5badbb9720 (patch) | |
tree | 26c34719e0a93e6f1831aaf14efdb436bc4b9077 /src/kernel/user/vfs.c | |
parent | 1b9ea946b8ec8c71a2bad9a7b2ce253145dcd97c (diff) | |
download | kogata-ef50c1c0de9e992db9144571e7f08e5badbb9720.tar.gz kogata-ef50c1c0de9e992db9144571e7f08e5badbb9720.zip |
Add mk_shm syscall ; replace get_mode by fctl.
Diffstat (limited to 'src/kernel/user/vfs.c')
-rw-r--r-- | src/kernel/user/vfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/user/vfs.c b/src/kernel/user/vfs.c index 6df0a25..a967f70 100644 --- a/src/kernel/user/vfs.c +++ b/src/kernel/user/vfs.c @@ -462,10 +462,6 @@ void unref_file(fs_handle_t *file) { } } -int file_get_mode(fs_handle_t *f) { - return f->mode; -} - size_t file_read(fs_handle_t *f, size_t offset, size_t len, char* buf) { if (!(f->mode & FM_READ)) return 0; |