eio_truncate
eio_truncate
Truncate a file
resource **eio_truncate** string $path int $offset int $pri callable $callback mixed $data
causes the regular file named by to be truncated to
a size of precisely bytes
eio_truncate``path``length
pathFile path
offsetOffset from beginning of the file.
pri``callback``data
Arbitrary variable passed to .
callback
returns request resource on success,return.falseforfailure.
eio_busy
eio_ftruncate