user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <errno.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
int reboot(int what) {
|
||||
int ret, errno;
|
||||
SYSCALL2(SYSCALL_REBOOT, what, 0);
|
||||
return ret;
|
||||
}
|
||||
Reference in New Issue
Block a user