tmp/tmp4tdwl4_v/{from.md → to.md}
RENAMED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
#### Resize file <a id="fs.op.resize_file">[[fs.op.resize_file]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
void resize_file(const path& p, uintmax_t new_size);
|
| 5 |
-
void resize_file(const path& p, uintmax_t new_size, error_code& ec) noexcept;
|
| 6 |
-
```
|
| 7 |
-
|
| 8 |
-
*Postconditions:* `file_size(p) == new_size`.
|
| 9 |
-
|
| 10 |
-
*Throws:* As specified in [[fs.err.report]].
|
| 11 |
-
|
| 12 |
-
*Remarks:* Achieves its postconditions as if by POSIX `truncate()`.
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|