add sys_printchar
This commit is contained in:
7
kern/syscall/printchar.c
Normal file
7
kern/syscall/printchar.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <types.h>
|
||||
#include <lib.h>
|
||||
#include <syscall.h>
|
||||
int sys_printchar(char c) {
|
||||
kprintf("%c", c);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user