<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.inotify.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.inotify-read.php',
    1 => 'inotify_read',
    2 => 'Read events from an inotify instance',
  ),
  'up' => 
  array (
    0 => 'ref.inotify.php',
    1 => 'Inotify Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.inotify-queue-len.php',
    1 => 'inotify_queue_len',
  ),
  'next' => 
  array (
    0 => 'function.inotify-rm-watch.php',
    1 => 'inotify_rm_watch',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/inotify/functions/inotify-read.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.inotify-read" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">inotify_read</h1>
  <p class="verinfo">(PECL inotify &gt;= 0.1.2)</p><p class="refpurpose"><span class="refname">inotify_read</span> &mdash; <span class="dc-title">Read events from an inotify instance</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.inotify-read-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>inotify_read</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$inotify_instance</code></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="simpara">
   Read inotify events from an inotify instance.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.inotify-read-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">inotify_instance</code></dt>
    <dd>
     <span class="simpara">
      Von <span class="function"><a href="function.inotify-init.php" class="function">inotify_init()</a></span> zurückgegebene Ressource
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.inotify-read-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   An array of inotify events or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if no events was pending and
   <code class="parameter">inotify_instance</code> is non-blocking. Each event is an array with the following keys:
   <ul class="simplelist">
    <li>wd is a watch descriptor returned by
     <span class="function"><a href="function.inotify-add-watch.php" class="function">inotify_add_watch()</a></span></li>
    <li>mask is a bit mask of <a href="inotify.constants.php" class="link">events</a></li>
    <li>cookie is a unique id to connect related events (e.g. <strong><code>IN_MOVE_FROM</code></strong>
     and <strong><code>IN_MOVE_TO</code></strong>)</li>
    <li>name is the name of a file (e.g. if a file was modified in a
     watched directory)</li>
   </ul>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.inotify-read-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.inotify-init.php" class="function" rel="rdfs-seeAlso">inotify_init()</a> - Initialize an inotify instance</span></li>
   <li><span class="function"><a href="function.stream-select.php" 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 seconds and microseconds</span></li>
   <li><span class="function"><a href="function.stream-set-blocking.php" class="function" rel="rdfs-seeAlso">stream_set_blocking()</a> - Set blocking/non-blocking mode on a stream</span></li>
   <li><span class="function"><a href="function.inotify-queue-len.php" class="function" rel="rdfs-seeAlso">inotify_queue_len()</a> - Return a number upper than zero if there are pending events</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>