php man page for eio_event_loop

Query: eio_event_loop

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

EIO_EVENT_LOOP(3)							 1							 EIO_EVENT_LOOP(3)

eio_event_loop - Polls libeio until all requests proceeded

SYNOPSIS
bool eio_event_loop (void )
DESCRIPTION
eio_event_loop(3) polls libeio until all requests proceeded.
PARAMETERS
This function has no parameters.
RETURN VALUES
eio_event_loop(3) returns TRUE on success or FALSE on error.
EXAMPLES
Example #1 eio_event_loop(3) example <?php $temp_filename = "eio-temp-file.tmp"; touch($temp_filename); /* Is called when eio_chmod() finished */ function my_chmod_callback($data, $result) { global $temp_filename; if ($result == 0 && !is_readable($temp_filename) && is_writable($temp_filename)) { echo "eio_chmod_ok"; } @unlink($temp_filename); } eio_chmod($temp_filename, 0200, EIO_PRI_DEFAULT, "my_chmod_callback"); eio_event_loop(); ?> The above example will output something similar to: eio_chmod_ok SEE ALSO eio_poll. PHP Documentation Group EIO_EVENT_LOOP(3)
Related Man Pages
eio_mkdir(3) - php
eio_grp(3) - php
eio_read(3) - php
eio_readlink(3) - php
eio_symlink(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!