From ef50c1c0de9e992db9144571e7f08e5badbb9720 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 10 Mar 2015 17:18:13 +0100 Subject: Add mk_shm syscall ; replace get_mode by fctl. --- src/lib/include/syscall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/include/syscall.h') 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); -- cgit v1.2.3