Added more syscalls
This commit is contained in:
@ -26,6 +26,14 @@ clone(flags Int, stack Pointer) -> Int {
|
||||
return syscall(56, flags, stack)
|
||||
}
|
||||
|
||||
fork() -> Int {
|
||||
return syscall(57)
|
||||
}
|
||||
|
||||
execve(path Pointer, argv Pointer, envp Pointer) -> Int {
|
||||
return syscall(59, path, argv, envp)
|
||||
}
|
||||
|
||||
exit(status Int) {
|
||||
syscall(60, status)
|
||||
}
|
||||
@ -69,3 +77,7 @@ rmdir(path Pointer) -> Int {
|
||||
unlink(file Pointer) -> Int {
|
||||
return syscall(87, file)
|
||||
}
|
||||
|
||||
waitid(type Int, id Int, info Pointer, options Int) -> Int {
|
||||
return syscall(247, type, id, info, options)
|
||||
}
|
||||
|
Reference in New Issue
Block a user