PHP.nl

eio_seek

eio_seek

Seek to a position

resource **eio_seek** mixed $fd int $offset int $whence int $pri callable $callback mixed $data
repositions the offset of the open file associated with

stream, instance, or file descriptor specified by to the argument according to the directive . eio_seek``Socket``fd``offset``whence

fd Stream, instance, or numeric file descriptor. Socket

offsetStarting point from which data is to be read.

whence values are:

  `whence``EIO_SEEK_SET``offset``EIO_SEEK_CUR``offset``EIO_SEEK_END``offset`

pri``callback``data Arbitrary variable passed to . callback

returns request resource on success,return.falseforfailure.

eio_seek