eio_truncate

Example

 resource eio_truncate ( string $path , int $offset [, int $pri = EIO_PRI_DEFAULT [, mixed $callback = NULL [, mixed $data = NULL ]]] ) 

Description

eio_truncate() causes the regular file named by path to be truncated to a size of precisely length bytes

Return Values

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