syscall.sh / sparc64 / wait4

wait4

wait for process to change state, BSD style

sys_wait4(pid_t pid, int *stat_addr, int options, struct rusage *ru)
number7 (0x7)
abicommon
entry pointsys_wait4
sinceLinux 5.0
man pagewait4(2)
sourceelixir.bootlin.com

Registers

registervalue
g17, the syscall number
o0pid_t pid
o1int *stat_addr
o2int options
o3struct rusage *ru
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/wait4