diff options
author | Anton Kling <anton@kling.gg> | 2023-11-24 21:29:12 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-24 21:29:12 +0100 |
commit | 08b63b747f9a6b4d1460195f6ca68680abcdd656 (patch) | |
tree | 0a1b8620cd3b56bf1d9b389f44876e8c391bd47e /kernel/includes | |
parent | 6757803629574fe46e9047be8567e0c7e0522973 (diff) |
Refactor open()
Diffstat (limited to 'kernel/includes')
-rw-r--r-- | kernel/includes/syscalls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/includes/syscalls.h b/kernel/includes/syscalls.h index ee7efec..a431d2c 100644 --- a/kernel/includes/syscalls.h +++ b/kernel/includes/syscalls.h @@ -15,6 +15,7 @@ typedef struct SYS_ACCEPT_PARAMS { } __attribute__((packed)) SYS_ACCEPT_PARAMS; int syscall_accept(SYS_ACCEPT_PARAMS *args); +int syscall_open(const char *file, int flags, mode_t mode); void syscall_randomfill(void *buffer, u32 size); |