eio_fallocate

(PECL eio >= 0.0.1dev) Allows the caller to directly manipulate the allocated disk space for a file resource eio_fallocate ( mixed $fd, int $mode, int $offset, int $length [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] ) eio_fallocate() allows the caller to directly manipulate the allocated disk space for the file specified by fd file descriptor for the byte range starting at offse

eio_event_loop

(PECL eio >= 0.0.1dev) Polls libeio until all requests proceeded bool eio_event_loop ( void ) eio_event_loop() polls libeio until all requests proceeded. Returns: eio_event_loop() returns TRUE on success or FALSE on error. Examples: eio_event_loop() example <?php $temp_filename = "eio-temp-file.tmp"; touch($temp_fil

eio_dup2

(PECL eio >= 0.0.1dev) Duplicate a file descriptor resource eio_dup2 ( mixed $fd, mixed $fd2 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] ) eio_dup2() duplicates file descriptor. Parameters: fd Source stream, Socket resource, or numeric file descriptor fd2 Target stream, Socket resource, or

eio_custom

(PECL eio >= 0.0.1dev) Execute custom request like any other eio_* call. resource eio_custom ( callable $execute, int $pri, callable $callback [, mixed $data = NULL ] ) eio_custom() executes custom function specified by execute processing it just like any other eio_* call. Parameters: execute Specifies the request function that should match the following prototype:

eio_close

(PECL eio >= 0.0.1dev) Close file resource eio_close ( mixed $fd [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] ) eio_close() closes file specified by fd. Parameters: fd Stream, Socket resource, or numeric file descriptor pri The request priority: EIO_PRI_DEFAULT, EIO_PRI_MIN, EIO_PRI_MAX, or N

eio_chown

(PECL eio >= 0.0.1dev) Change file/direcrory permissions. resource eio_chown ( string $path, int $uid [, int $gid = -1 [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]]] ) Changes file, or directory permissions. Parameters: path Path to file or directory. WarningAvoid relative paths uid User I

eio_chmod

(PECL eio >= 0.0.1dev) Change file/direcrory permissions. resource eio_chmod ( string $path, int $mode [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] ) eio_chmod() changes file, or direcrory permissions. The new permissions are specified by mode. Parameters: path Path to the target file or directory WarningAvoid relative paths

eio_cancel

(PECL eio >= 0.0.1dev) Cancels a request void eio_cancel ( resource $req ) eio_cancel() cancels a request specified by req Parameters: req The request resource pri The request priority: EIO_PRI_DEFAULT, EIO_PRI_MIN, EIO_PRI_MAX, or NULL. If NULL passed, pri internally is set to EIO_PRI_DEFAULT. callback

eio_busy

(PECL eio >= 0.0.1dev) Artificially increase load. Could be useful in tests, benchmarking. resource eio_busy ( int $delay [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] ) eio_busy() artificially increases load taking delay seconds to execute. May be used for debugging, or benchmarking. Parameters: delay Delay in seconds

rpm_version

(PECL rpmreader >= 0.3.0) Returns a string representing the current version of the rpmreader extension string rpm_version ( void ) rpm_version() will return the current version of the rpmreader extension. Returns: rpm_version() will return a string representing the rpmreader version currently loaded in PHP. Examples: rpm_version() e