From fe8180d88540bfa96595dcc58290de5425e534e3 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 5 Oct 2018 23:41:51 +0200 Subject: drunken proggin --- kernel/syscalls.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kernel/syscalls.h') 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 #include +#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); -- cgit v1.2.3