Home | Libraries | People | FAQ | More |
Metadata about a filing system. Unsupported entries are -1.
struct statfs_t { struct boost::afio::statfs_t::f_flags_t f_flags; // copy of mount exported flags (Windows, POSIX) uint64_t f_bsize; // fundamental filesystem block size (Windows, POSIX) uint64_t f_iosize; // optimal transfer block size (Windows, POSIX) uint64_t f_blocks; // total data blocks in filesystem (Windows, POSIX) uint64_t f_bfree; // free blocks in filesystem (Windows, POSIX) uint64_t f_bavail; // free blocks avail to non-superuser (Windows, POSIX) uint64_t f_files; // total file nodes in filesystem (POSIX) uint64_t f_ffree; // free nodes avail to non-superuser (POSIX) uint32_t f_namemax; // maximum filename length (Windows, POSIX) int16_t f_owner; // user that mounted the filesystem (BSD, OS X) uint64_t f_fsid; // filesystem id (Windows, POSIX) std::string f_fstypename; // filesystem type name (Windows, POSIX) std::string f_mntfromname; // mounted filesystem (Windows, POSIX) path f_mntonname; // directory on which mounted (Windows, POSIX) };
Function |
Description |
Parameters |
---|---|---|
statfs_t() |
#include <boost/afio/v2/afio.hpp>