syscall.sh / csky / fstat64

fstat64

get file status

sys_fstat64(unsigned long fd, struct stat64 *statbuf)
number80 (0x50)
abistat64
entry pointsys_fstat64
sinceLinux 5.6
man pagefstat64(2)
sourceelixir.bootlin.com

Registers

registervalue
r780, the syscall number
a0unsigned long fd
a1struct stat64 *statbuf
a0the 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/csky/fstat64