syscall.sh / m68k / stat

stat

get file status

sys_newstat(const char *filename, struct stat *statbuf)
number106 (0x6a)
abicommon
entry pointsys_newstat
sinceLinux 5.0
man pagestat(2)
sourceelixir.bootlin.com

Registers

registervalue
d0106, the syscall number
d1const char *filename
d2struct stat *statbuf
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/stat