ftruncate

(PHP 4 >= 4.0RC1)

ftruncate --  Truncates a file to a given length.

Description

int ftruncate (int fp, int size)

Takes the filepointer, fp, and truncates the file to length, size. This function returns true on success and false on failure.


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека