statvfs

statvfs

Functions

int fstatvfs ()

Types and Values

#define fsblkcnt_t
typedef fsfilcnt_t
struct statvfs

Description

Functions

fstatvfs ()

int
fstatvfs (int fd,
          struct statvfs *buf);

Types and Values

fsblkcnt_t

#  define fsblkcnt_t fsblkcnt_t

fsfilcnt_t

typedef __fsfilcnt_t fsfilcnt_t;

struct statvfs

struct statvfs {
	unsigned long f_bsize;
	unsigned long f_frsize;
	fsblkcnt_t f_blocks;
	fsblkcnt_t f_bfree;
	fsblkcnt_t f_bavail;
	fsfilcnt_t f_files;
	fsfilcnt_t f_ffree;
	fsfilcnt_t f_favail;
	unsigned long f_fsid;
	unsigned long f_flag;
	unsigned long f_namemax;
};