[#AutoFile-Truncate] = xref:AutoFile.adoc[AutoFile]::Truncate :relfileprefix: ../ :mrdocs: Wrapper around TruncateFile(). == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool Truncate(unsigned int size); ---- == Return Value True if the file was successfully truncated, false otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *size* | New size of the file in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#