MCPcopy Create free account
hub / github.com/chriskohlhoff/asio / resize

Function resize

include/asio/basic_file.hpp:830–835  ·  view source on GitHub ↗

Alter the size of the file. * This function resizes the file to the specified size, in bytes. If the * current file size exceeds @c n then any extra data is discarded. If the * current size is less than @c n then the file is extended and filled with * zeroes. * * @param n The new size for the file. * * @throws asio::system_error Thrown on failure. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls 2

throw_errorFunction · 0.85
resizeMethod · 0.45

Tested by

no test coverage detected