Added time.sleep function
This commit is contained in:
parent
819a4a907b
commit
0db4d4fc14
3 changed files with 25 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue