cpp/filesystem/resize file

Changes the size of the regular file named by as if by POSIX : if the file size was previously larger than, the remainder of the file is discarded. If the file was previously smaller than, the file size is increased and the new area appears as if zero-filled.

Return value
(none)