ICI Modules: sys: truncate


Modules by name : by type

Synopsis

sys.truncate(int|string, int)

Description

Set the size of a file. The file is given as a pathname or file descrptor, the size as an integer (which results in a 32-bit limit to file sizes used with this call on most systems).