syscall.sh / ppc / fstat64

fstat64

get file status

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

Registers

registervalue
r0197, the syscall number
r3unsigned long fd
r4struct stat64 *statbuf
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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