diff options
Diffstat (limited to 'src/shared/include')
-rw-r--r-- | src/shared/include/camellia/errno.h | 1 | ||||
-rw-r--r-- | src/shared/include/camellia/syscalls.h | 2 | ||||
-rw-r--r-- | src/shared/include/camellia/types.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/include/camellia/errno.h b/src/shared/include/camellia/errno.h index 5a9e743..e352015 100644 --- a/src/shared/include/camellia/errno.h +++ b/src/shared/include/camellia/errno.h @@ -7,3 +7,4 @@ #define ERANGE 6 #define ENOMEM 7 #define ENOENT 8 +#define ENOTEMPTY 9 diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h index ade75a5..b6c93fe 100644 --- a/src/shared/include/camellia/syscalls.h +++ b/src/shared/include/camellia/syscalls.h @@ -21,6 +21,7 @@ enum { _SYSCALL_READ, _SYSCALL_WRITE, _SYSCALL_GETSIZE, + _SYSCALL_REMOVE, _SYSCALL_CLOSE, _SYSCALL_FS_FORK2, @@ -65,6 +66,7 @@ handle_t _syscall_dup(handle_t from, handle_t to, int flags); long _syscall_read(handle_t h, void __user *buf, size_t len, long offset); long _syscall_write(handle_t h, const void __user *buf, size_t len, long offset, int flags); long _syscall_getsize(handle_t h); +long _syscall_remove(handle_t h); long _syscall_close(handle_t h); struct fs_wait_response { diff --git a/src/shared/include/camellia/types.h b/src/shared/include/camellia/types.h index cb17b3a..622d705 100644 --- a/src/shared/include/camellia/types.h +++ b/src/shared/include/camellia/types.h @@ -17,5 +17,6 @@ enum vfs_operation { VFSOP_READ, VFSOP_WRITE, VFSOP_GETSIZE, + VFSOP_REMOVE, VFSOP_CLOSE, }; |