syscall.sh / alpha / fstat

fstat

get file status

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

Registers

registervalue
v091, the syscall number
a0unsigned int fd
a1struct stat *statbuf
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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