syscall.sh / m68k / fstat64

fstat64

get file status

sys_fstat64(unsigned long fd, struct stat64 *statbuf)
number197 (0xc5)
abicommon
entry pointsys_fstat64
sinceLinux 5.0
man pagefstat64(2)
sourceelixir.bootlin.com

Registers

registervalue
d0197, the syscall number
d1unsigned long fd
d2struct stat64 *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/fstat64