Function lrs::syscall::fstatfs

Retrieves filesystem statistics from a file descriptor.

Syntax

fn fstatfs(fd: i32, buf: &mut statfs) -> i32

Arguments

NameDescription
fd

An open file descriptor in the filesystem.

buf

The buffer in which the statistics will be stored.

Return value

Returns success or an error value.

See also