syscall.sh / mipsn32 / wait4

wait4

wait for process to change state, BSD style

compat_sys_wait4(pid_t pid, int *stat_addr, int options, struct rusage *ru)
number6059 (0x17ab)
abin32
entry pointcompat_sys_wait4
sinceLinux 5.0
man pagewait4(2)
sourceelixir.bootlin.com

Registers

registervalue
v06059, the syscall number
a0pid_t pid
a1int *stat_addr
a2int options
a3struct rusage *ru
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/mipsn32/wait4