syscall.sh / ppc64 / waitpid

waitpid

wait for process to change state

sys_waitpid(pid_t pid, int *stat_addr, int options)
number7 (0x7)
abicommon
entry pointsys_waitpid
sinceLinux 5.0
man pagewaitpid(2)
sourceelixir.bootlin.com

Registers

registervalue
r07, the syscall number
r3pid_t pid
r4int *stat_addr
r5int options
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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