syscall.sh / hexagon / wait4

wait4

wait for process to change state, BSD style

sys_wait4(pid_t pid, int *stat_addr, int options, struct rusage *ru)
number260 (0x104)
abitime32
entry pointsys_wait4
sinceLinux 3.7
man pagewait4(2)
sourceelixir.bootlin.com

Registers

registervalue
r6260, the syscall number
r0pid_t pid
r1int *stat_addr
r2int options
r3struct rusage *ru
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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