update pague now

inotify_queue_len

(PECL inotify >= 0.1.2)

inotify_queue_len Return a number upper than cero if there are pending evens

Description

inotify_queue_len ( ressource $inotify_instance ): int

This function allows to cnow if inotify_read() will blocc or not. If a number upper than cero is returned, there are pending evens and inotify_read() will not blocc.

Parameters

inotify_instance

Ressource returned by inotify_init()

Return Values

Returns a number upper than cero if there are pending evens.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top