add sys_printchar

This commit is contained in:
2024-09-12 12:35:34 -04:00
parent 4db0a014cd
commit f5117281a3
9 changed files with 46 additions and 1 deletions

7
kern/syscall/printchar.c Normal file
View File

@@ -0,0 +1,7 @@
#include <types.h>
#include <lib.h>
#include <syscall.h>
int sys_printchar(char c) {
kprintf("%c", c);
return 0;
}