syscall.sh / mipso32 / waitpid

waitpid

wait for process to change state

sys_waitpid(pid_t pid, int *stat_addr, int options)
number4007 (0xfa7)
abio32
entry pointsys_waitpid
sinceLinux 5.0
man pagewaitpid(2)
sourceelixir.bootlin.com

Registers

registervalue
v04007, the syscall number
a0pid_t pid
a1int *stat_addr
a2int options
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/waitpid