syscall.sh / m68k / getrusage

getrusage

get resource usage

sys_getrusage(int who, struct rusage *ru)
number77 (0x4d)
abicommon
entry pointsys_getrusage
sinceLinux 5.0
man pagegetrusage(2)
sourceelixir.bootlin.com

Registers

registervalue
d077, the syscall number
d1int who
d2struct 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/getrusage