ustat(2)

NAME

ustat- get file system statistics

SYNOPSIS

#include <sys/types.h>
#include <ustat.h>

int ustat(dev_t dev, struct ustat *buf);

DESCRIPTION

The ustat() function returns information about a mounted file system. The dev argument is a device number identifying a device containing a mounted file system (see makedev(3C)). The buf argument is a pointer to a ustat structure that includes the following members: