diff options
author | Anton Kling <anton@kling.gg> | 2023-11-17 21:24:33 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-17 21:27:26 +0100 |
commit | 99e5c8e046dfff53c331eb35394bfbcab4629fd0 (patch) | |
tree | 690994f164306688bfb3346f218c79301c0f0452 /kernel/cpu | |
parent | 6723c96863425bda541e321127f6944bf008446a (diff) |
Kernel: Add isatty syscall
Diffstat (limited to 'kernel/cpu')
-rw-r--r-- | kernel/cpu/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c index a1e39ac..7001d63 100644 --- a/kernel/cpu/syscall.c +++ b/kernel/cpu/syscall.c @@ -7,8 +7,8 @@ #include <fs/tmpfs.h> #include <fs/vfs.h> #include <kmalloc.h> -#include <syscalls.h> #include <string.h> +#include <syscalls.h> #include <typedefs.h> #pragma GCC diagnostic ignored "-Wpedantic" @@ -154,7 +154,7 @@ void (*syscall_functions[])() = { (void(*))syscall_mkdir, (void(*))syscall_recvfrom, (void(*))syscall_sendto, (void(*))syscall_kill, (void(*))syscall_sigaction, (void(*))syscall_chdir, - (void(*))syscall_getcwd, + (void(*))syscall_getcwd, (void(*))syscall_isatty, }; void syscall_function_handler(u32 eax, u32 arg1, u32 arg2, u32 arg3, u32 arg4, |