Extracted from Pike v7.4 release 341 at 2005-11-30.
pike.ida.liu.se
[Top]
predef::

Method file_truncate()


Method file_truncate

int file_truncate(string file, int length)

Description

Truncates the file file to the length specified in length .

Returns

Returns 1 if ok, 0 if failed.