แก้ไข

แชร์ผ่าน


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
unsigned long long capacity Represents the total number of bytes that the volume can represent.
unsigned long long free Represents the number of bytes that are not used to represent data on the volume.
unsigned long long available Represents the number of bytes that are available to represent data on the volume.

Requirements

Header: <filesystem>

Namespace: std::experimental::filesystem

See also

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