array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.inotify-queue-len.php', 1 => 'inotify_queue_len', ), 'up' => array ( 0 => 'ref.inotify.php', 1 => 'Inotify Functions', ), 'prev' => array ( 0 => 'function.inotify-init.php', 1 => 'inotify_init', ), 'next' => array ( 0 => 'function.inotify-read.php', 1 => 'inotify_read', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/inotify/functions/inotify-queue-len.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL inotify >= 0.1.2)
inotify_queue_len — Return a number upper than zero if there are pending events
This function allows to know if inotify_read() will block or not. If a number upper than zero is returned, there are pending events and inotify_read() will not block.
Returns a number upper than zero if there are pending events.