syscall.sh / x86 / fstatfs

fstatfs

get filesystem statistics

sys_fstatfs(unsigned int fd, struct statfs *buf)
number100 (0x64)
abii386
entry pointsys_fstatfs
sinceLinux 3.3
man pagefstatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
eax100, the syscall number
ebxunsigned int fd
ecxstruct statfs *buf
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/fstatfs