eio_ftruncate
eio_ftruncate
(PECL eio >= 0.0.1dev)
eio_ftruncate — Truncate a file
Description
resource eio_ftruncate ( mixed $fd [, int $offset = 0 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]]] )
eio_ftruncate() causes a regular file referenced by fd
file descriptor to be truncated to precisely length
bytes.
Parameters
-
fd