PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

inotify_read> <inotify_init
Last updated: Fri, 30 Jan 2009

view this page in

inotify_queue_len

(No version information available, might be only in CVS)

inotify_queue_lenReturn a number upper than zero if there are pending events

説明

int inotify_queue_len ( resource $inotify_instance )

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.

パラメータ

inotify_instance

inotify_init() が返すリソース

返り値

Returns a number upper than zero if there are pending events.

参考

  • inotify_init() - Initialize an inotify instance
  • stream_select() - select() システムコールと同等の操作を、 ストリームの配列に対して tv_sec と tv_usec で指定されたタイムアウト時間をもって行う
  • stream_set_blocking() - ストリームのブロックモードを有効にする / 解除する



add a note add a note User Contributed Notes
inotify_queue_len
There are no user contributed notes for this page.

inotify_read> <inotify_init
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites