Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This article describes the prestandard <experimental/filesystem> implementation of space_info. It documents the historical File System Technical Specification (ISO/IEC JTC 1/SC 22/WG 21 N4100), not the C++17 std::filesystem::space_info structure. The experimental implementation was removed starting with MSVC version 14.51. For current code, use the standard 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: <experimental/filesystem>
Namespace: std::experimental::filesystem