forked from PoliEcho-holding-org/kern
Implemented a proper libc
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#include <time.h>
|
||||
#include <syscall.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void sleep(uint32_t ms) {
|
||||
syscall(SYS_SLEEP, ms, 0, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user