diff options
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r-- | src/init/syscalls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c index 1e11705..b0e1587 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -16,6 +16,10 @@ int _syscall_await(char *buf, int len) { return _syscall(_SYSCALL_AWAIT, (int)buf, (int)len, 0); } +fd_t _syscall_fs_open(const char *path, size_t len) { + return _syscall(_SYSCALL_FS_OPEN, (int)path, len, 0); +} + int _syscall_debuglog(const char *msg, size_t len) { return _syscall(_SYSCALL_DEBUGLOG, (int)msg, len, 0); } |