diff options
Diffstat (limited to 'src/kernel/syscall/actions/sys_getch.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_getch.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel/syscall/actions/sys_getch.c b/src/kernel/syscall/actions/sys_getch.c new file mode 100644 index 0000000..f1e4dfb --- /dev/null +++ b/src/kernel/syscall/actions/sys_getch.c @@ -0,0 +1,10 @@ +#include <stdint.h> +#include <kernel/lib/stdio.h> +#include <kernel/input/input.h> +#include <kernel/lib/lib.h> +#include <kernel/lib/string.h> + +uint32_t sys_getch() +{ + return (uint32_t)getch(); +}
\ No newline at end of file |