แก้ไข

space_info Structure

Holds information about a volume.

Syntax

struct space_info
{
    uintmax_t capacity;
    uintmax_t free;
    uintmax_t available;
};

Members

Public Data Members

Name Description
uintmax_t capacity Represents the total number of bytes that the volume can represent.
uintmax_t free Represents the number of bytes that are not used to represent data on the volume.
uintmax_t available Represents the number of bytes that are available to represent data on the volume.

Requirements

Header: <filesystem>

Namespace: std::filesystem

See also

Header Files Reference
<filesystem>
File System Navigation (C++)