q/lib/sys/proc_mac.q

15 lines
No EOL
304 B
Text

exit(status Int) {
syscall(0x2000001, status)
}
fork() -> Int {
return syscall(0x2000002)
}
execve(path *Any, argv *Any, envp *Any) -> Int {
return syscall(0x200003B, path, argv, envp)
}
waitid(type Int, id Int, info *Any, options Int) -> Int {
return syscall(0x20000AD, type, id, info, options)
}