diff options
Diffstat (limited to 'kernel/syscalls.h')
| -rw-r--r-- | kernel/syscalls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/syscalls.h b/kernel/syscalls.h index f77aea5..b79e6b3 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -14,6 +14,7 @@ #include <stdint.h> #include <stdbool.h> +#include "fd.h" #define SYSCALL_EXIT 60 #define SYSCALL_EXECVE 64 @@ -46,7 +47,8 @@ #define SYSCALL_GUI_WIN 88 /** Todo move somewhere else and init per process , think how to make thread safe */ -void fd_init_std_streams(uint32_t pid, bool use_framebuffer); +void fd_init_std_streams(uint32_t pid); +fd *get_fd(uint32_t pid,uint32_t file); /** returns string representation of the syscall from its number */ char* syscall_get_name(uint32_t num); |
