diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-06 21:52:15 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-06 21:52:15 -0400 |
commit | 6ce9297e61d5dbc1640392ed6d253d9769953dcf (patch) | |
tree | 816873aab452d24ad24ed7a41e19946c4519ce1b /src/sys/include/compat | |
parent | 25461d1d5df8f6d1cf415eeb7d8d7c073171def5 (diff) |
kern: filedes: Add SYS_open system call
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/compat')
-rw-r--r-- | src/sys/include/compat/unix/syscall.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h index ab464c4..1b51d26 100644 --- a/src/sys/include/compat/unix/syscall.h +++ b/src/sys/include/compat/unix/syscall.h @@ -54,6 +54,11 @@ scret_t sys_cross(struct syscall_args *scargs); */ scret_t sys_query(struct syscall_args *scargs); +/* + * Open a file + */ +scret_t sys_open(struct syscall_args *scargs); + #ifdef _NEED_UNIX_SCTAB scret_t(*g_unix_sctab[])(struct syscall_args *) = { [SYS_none] = NULL, |