syscall.sh / m68k / fstat

fstat

get file status

sys_newfstat(unsigned int fd, struct stat *statbuf)
number108 (0x6c)
abicommon
entry pointsys_newfstat
sinceLinux 5.0
man pagefstat(2)
sourceelixir.bootlin.com

Registers

registervalue
d0108, the syscall number
d1unsigned int fd
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/fstat