Added time.sleep function

This commit is contained in:
2025-02-02 17:04:58 +01:00
parent 271ae0fb18
commit 715635aaa7
3 changed files with 25 additions and 2 deletions

View File

@ -22,8 +22,8 @@ munmap(address Pointer, length Int) -> Int {
return syscall(11, address, length)
}
nanosleep(requested Pointer, remaining Pointer) -> Int {
return syscall(35, requested, remaining)
nanosleep(timespec Pointer) -> Int {
return syscall(35, timespec, 0)
}
clone(flags Int, stack Pointer) -> Int {