• PHP Video Tutorials

PHP - Inotify queue_len() Function



inotify_queue_len() function can return a number upper than zero if there are pending events.

Syntax

int inotify_queue_len( resource $inotify_instance )

inotify_queue_len() function can allow us to know if inotify_read() can block or not. If a number upper than zero is returned, there are pending events, and inotify_read() can't block.

php_function_reference.htm
Advertisements