STATFS(2)

NAME
statfs - stat filesystem

SYNOPSIS
#include <sys/vfs.h>

int statfs(const char *path, struct statfs *buf);
int fstatfs(int fd, struct statfs *buf);

DESCRIPTION
Statfs isn't documented further.