From 33bdf18dad2539aca21727e95e04bfedecd37a76 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 9 Dec 2019 16:06:37 +0100 Subject: Lars, your wish may come true if you fix this! --- src/kernel/syscall/actions/sys_read.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/kernel/syscall/actions/sys_read.c') diff --git a/src/kernel/syscall/actions/sys_read.c b/src/kernel/syscall/actions/sys_read.c index 673d2d9..f04f3ef 100644 --- a/src/kernel/syscall/actions/sys_read.c +++ b/src/kernel/syscall/actions/sys_read.c @@ -13,4 +13,9 @@ uint32_t sys_read(char *buf) } memcpy(buf, keyboard_buffer, strlen(keyboard_buffer)); return strlen(buf); +} + +uint32_t sys_readc() +{ + return getch(); } \ No newline at end of file -- cgit v1.2.3