ftruncate

Example

 bool ftruncate ( resource $handle , int $size ) 

Description

Takes the filepointer, handle, and truncates the file to length, size.

Return Values

Returns TRUE on success or FALSE on failure.