From 4546c75d685475d8b9f215b588364e1d1bbd0b79 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 19:21:29 +0200 Subject: MUCH work in libc Also cleaned up some syscalls etc --- src/userspace/programs/sh.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/userspace/programs/sh.c') diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c index 6dcb206..8da493e 100644 --- a/src/userspace/programs/sh.c +++ b/src/userspace/programs/sh.c @@ -1,13 +1,13 @@ #include +#include void main() { - syscall_putch('\n'); - syscall_putch('>'); - syscall_putch(' '); + printf("Test for printf! %d\n", 42); + printf("[~] "); while (1) { - syscall_putch(syscall_getch()); + putch(getch()); } syscall_halt(); -- cgit v1.2.3