PHP 8.5.0 Alpha 1 available for testing

inotify_queue_len

(PECL inotify >= 0.1.2)

inotify_queue_lenDevuelve un número superior a cero si hay eventos pendientes

Descripción

inotify_queue_len(resource $inotify_instance): int

Esta función permite saber si inotify_read() bloqueará o no. Si un número superior a cero es devuelto, hay eventos pendientes e inotify_read() no bloqueará.

Parámetros

inotify_instance

Recurso devuelto por inotify_init()

Valores devueltos

Devuelve un número superior a cero si hay eventos pendientes.

Ver también

add a note

User Contributed Notes

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