tmp/tmp7n8po4jj/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 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 |
*Effects:* Causes the size that would be returned by `file_size(p)` to
|
| 9 |
be equal to `new_size`, as if by POSIX `truncate()`.
|
| 10 |
|
|
|
|
| 1 |
#### Resize file <a id="fs.op.resize.file">[[fs.op.resize.file]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
void filesystem::resize_file(const path& p, uintmax_t new_size);
|
| 5 |
+
void filesystem::resize_file(const path& p, uintmax_t new_size, error_code& ec) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Causes the size that would be returned by `file_size(p)` to
|
| 9 |
be equal to `new_size`, as if by POSIX `truncate()`.
|
| 10 |
|