eio_read

eio_read

(PECL eio >= 0.0.1dev)

eio_readRead from a file descriptor at given offset.

Description

resource eio_read ( mixed $fd , int $length , int $offset , int $pri , callable $callback [, mixed $data = NULL ] )

eio_read() reads up to length bytes from fd file descriptor at offset. The read bytes are stored in result argument of callback.