Fixed incorrect syscall numbers for Mac
This commit is contained in:
parent
6f6af97919
commit
8b54823f6e
@ -1,3 +1,7 @@
|
||||
exit(status Int) {
|
||||
syscall(0x2000001, status)
|
||||
}
|
||||
|
||||
fork() -> Int {
|
||||
return syscall(0x2000002)
|
||||
}
|
||||
@ -27,9 +31,9 @@ munmap(address Pointer, length Int) -> Int {
|
||||
}
|
||||
|
||||
execve(path Pointer, argv Pointer, envp Pointer) -> Int {
|
||||
return syscall(0x2000059, path, argv, envp)
|
||||
return syscall(0x200003B, path, argv, envp)
|
||||
}
|
||||
|
||||
exit(status Int) {
|
||||
syscall(0x2000001, status)
|
||||
waitid(type Int, id Int, info Pointer, options Int) -> Int {
|
||||
return syscall(0x20000AD, type, id, info, options)
|
||||
}
|
Loading…
Reference in New Issue
Block a user