syscall.sh / sparc / waitpid

waitpid

wait for process to change state

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

Registers

registervalue
g1212, the syscall number
o0pid_t pid
o1int *stat_addr
o2int options
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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