eio_ftruncate

Example

 resource eio_ftruncate ( int $fd , int $offset [, int $pri = EIO_PRI_DEFAULT [, mixed $callback = NULL [, mixed $data = NULL ]]] ) 

Description

eio_ftruncate() causes a regular file referenced by fd file descriptor to be truncated to precisely length bytes.

Return Values

eio_ftruncate() returns request resource on success or FALSE on error.