Function lrs::syscall::statfs

Retrieves filesystem statistics from a path.

Syntax

fn statfs(path: &CStr, buf: &mut statfs) -> i32

Arguments

NameDescription
path

A path in a mountpoint of the filesystem.

buf

The buffer in which the statistics will be stored.

Return value

Returns success or an error value.

See also