syscall.sh / m68k / waitid

waitid

wait for process to change state

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

Registers

registervalue
d0277, the syscall number
d1int which
d2pid_t pid
d3struct siginfo *infop
d4int options
d5struct rusage *ru
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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