tmp/tmpbtla0jh3/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
#### Space <a id="fs.op.space">[[fs.op.space]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
space_info space(const path& p);
|
| 5 |
-
space_info space(const path& p, error_code& ec) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* An object of type `space_info`. The value of the `space_info`
|
| 9 |
object is determined as if by using POSIX `statvfs` to obtain a POSIX
|
| 10 |
`struct statvfs`, and then multiplying its `f_blocks`, `f_bfree`, and
|
|
@@ -17,7 +17,7 @@ members are set to `static_cast<uintmax_t>(-1)` if an error occurs.
|
|
| 17 |
*Throws:* As specified in [[fs.err.report]].
|
| 18 |
|
| 19 |
*Remarks:* The value of member `space_info::available` is operating
|
| 20 |
system dependent.
|
| 21 |
|
| 22 |
-
[*Note 1*: `available`
|
| 23 |
|
|
|
|
| 1 |
#### Space <a id="fs.op.space">[[fs.op.space]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
space_info filesystem::space(const path& p);
|
| 5 |
+
space_info filesystem::space(const path& p, error_code& ec) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* An object of type `space_info`. The value of the `space_info`
|
| 9 |
object is determined as if by using POSIX `statvfs` to obtain a POSIX
|
| 10 |
`struct statvfs`, and then multiplying its `f_blocks`, `f_bfree`, and
|
|
|
|
| 17 |
*Throws:* As specified in [[fs.err.report]].
|
| 18 |
|
| 19 |
*Remarks:* The value of member `space_info::available` is operating
|
| 20 |
system dependent.
|
| 21 |
|
| 22 |
+
[*Note 1*: `available` might be less than `free`. — *end note*]
|
| 23 |
|