Method file_truncate()
- Method file_truncate
intfile_truncate(stringfile,intlength)- Description
Truncates the file
fileto the length specified inlength.- Returns
Returns 1 if ok, 0 if failed.
int file_truncate(string file, int length)
Truncates the file file to the length specified in length.
Returns 1 if ok, 0 if failed.