syscall.sh / x86 / statfs

statfs

get filesystem statistics

sys_statfs(const char *path, struct statfs *buf)
number99 (0x63)
abii386
entry pointsys_statfs
sinceLinux 3.3
man pagestatfs(2)
sourceelixir.bootlin.com

Registers

registervalue
eax99, the syscall number
ebxconst char *path
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/statfs