diff options
Diffstat (limited to 'src/lib/include/syscall.h')
-rw-r--r-- | src/lib/include/syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/include/syscall.h b/src/lib/include/syscall.h index f66b759..07defdb 100644 --- a/src/lib/include/syscall.h +++ b/src/lib/include/syscall.h @@ -37,10 +37,11 @@ size_t write(fd_t file, size_t offset, size_t len, const char* buf); bool readdir(fd_t file, size_t ent_no, dirent_t *d); bool stat_open(fd_t file, stat_t *s); int ioctl(fd_t file, int command, void* data); -int get_mode(fd_t file); +int fctl(fd_t file, int command, void* data); bool select(sel_fd_t* fds, size_t nfds, int timeout); fd_pair_t make_channel(bool blocking); +fd_t make_shm(size_t size); bool gen_token(fd_t file, token_t *tok); fd_t use_token(token_t *tok); |