![]() |
Truncate the file at a specific size.
void trunc( std::uint64_t length, error_code& ec);
The file must be open with a mode allowing writes.
|
Name |
Description |
|---|---|
|
|
The new file size. |
|
|
Set to the error, if any occurred. |