syscall.sh / sh / 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
r3197, the syscall number
r4unsigned long fd
r5struct stat64 *statbuf
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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