syscall.sh / x86 / fstat64

fstat64

get file status

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

Registers

registervalue
eax197, the syscall number
ebxunsigned long fd
ecxstruct stat64 *statbuf
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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