mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-10-11 08:53:20 +08:00
0.0.1
This commit is contained in:
74
docs/php/inotify_queue_len.html
Normal file
74
docs/php/inotify_queue_len.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Return a number upper than zero if there are pending events</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.inotify-queue-len" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">inotify_queue_len</h1>
|
||||
<p class="verinfo">(PECL inotify >= 0.1.2)</p><p class="refpurpose"><span class="refname">inotify_queue_len</span> — <span class="dc-title">Return a number upper than zero if there are pending events</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.inotify-queue-len-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>inotify_queue_len</strong></span>
|
||||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$inotify_instance</code></span>
|
||||
) : <span class="type">int</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
This function allows to know if <span class="function"><a href="inotify_read.html" class="function">inotify_read()</a></span> will block or not.
|
||||
If a number upper than zero is returned, there are pending events and
|
||||
<span class="function"><a href="inotify_read.html" class="function">inotify_read()</a></span> will not block.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.inotify-queue-len-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">inotify_instance</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
<span class="function"><a href="inotify_init.html" class="function">inotify_init()</a></span>返回的资源
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.inotify-queue-len-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns a number upper than zero if there are pending events.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.inotify-queue-len-seealso">
|
||||
<h3 class="title">参见</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><span class="function"><a href="inotify_init.html" class="function" rel="rdfs-seeAlso">inotify_init()</a> - Initialize an inotify instance</span></li>
|
||||
<li class="member"><span class="function"><a href="stream_select.html" class="function" rel="rdfs-seeAlso">stream_select()</a> - Runs the equivalent of the select() system call on the given
|
||||
arrays of streams with a timeout specified by tv_sec and tv_usec</span></li>
|
||||
<li class="member"><span class="function"><a href="stream_set_blocking.html" class="function" rel="rdfs-seeAlso">stream_set_blocking()</a> - 为资源流设置阻塞或者阻塞模式</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
Reference in New Issue
Block a user