syscall.sh / sparc64 / fstat

fstat

get file status

sys_newfstat(unsigned int fd, struct stat *statbuf)
number62 (0x3e)
abicommon
entry pointsys_newfstat
sinceLinux 5.0
man pagefstat(2)
sourceelixir.bootlin.com

Registers

registervalue
g162, the syscall number
o0unsigned int fd
o1struct stat *statbuf
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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