syscall.sh / xtensa / waitid

waitid

wait for process to change state

sys_waitid(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
number122 (0x7a)
abicommon
entry pointsys_waitid
sinceLinux 5.0
man pagewaitid(2)
sourceelixir.bootlin.com

Registers

registervalue
a2122, the syscall number
a6int which
a3pid_t pid
a4struct siginfo *infop
a5int options
a8struct rusage *ru
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/waitid