<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.inotify.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'inotify.constants.php',
    1 => 'Попередньо визначені константи',
    2 => 'Попередньо визначені константи',
  ),
  'up' => 
  array (
    0 => 'book.inotify.php',
    1 => 'Inotify',
  ),
  'prev' => 
  array (
    0 => 'inotify.resources.php',
    1 => 'Типи ресурсів',
  ),
  'next' => 
  array (
    0 => 'ref.inotify.php',
    1 => 'Функції Inotify',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/inotify/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="inotify.constants" class="appendix">
  <h1 class="title">Попередньо визначені константи</h1>

  <p class="simpara">
Константи, описані нижче — визначені цим розширенням, тож доступні, коли
розширення скомпільовано як частина PHP або динамічно підключене під час
виконання.
</p>
  <dl id="inotify.constants.events">
   <strong class="title">Inotify constants usable with <span class="function"><a href="function.inotify-add-watch.php" class="function">inotify_add_watch()</a></span> and/or returned by <span class="function"><a href="function.inotify-read.php" class="function">inotify_read()</a></span></strong>
   
    <dt id="constant.in-access">
     <strong><code><a href="inotify.constants.php#constant.in-access">IN_ACCESS</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File was accessed (read) (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-modify">
     <strong><code><a href="inotify.constants.php#constant.in-modify">IN_MODIFY</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File was modified (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-attrib">
     <strong><code><a href="inotify.constants.php#constant.in-attrib">IN_ATTRIB</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Metadata changed (e.g. permissions, mtime, etc.) (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-close-write">
     <strong><code><a href="inotify.constants.php#constant.in-close-write">IN_CLOSE_WRITE</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File opened for writing was closed (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-close-nowrite">
     <strong><code><a href="inotify.constants.php#constant.in-close-nowrite">IN_CLOSE_NOWRITE</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File not opened for writing was closed (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-open">
     <strong><code><a href="inotify.constants.php#constant.in-open">IN_OPEN</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File was opened (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-moved-to">
     <strong><code><a href="inotify.constants.php#constant.in-moved-to">IN_MOVED_TO</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File moved into watched directory (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-moved-from">
     <strong><code><a href="inotify.constants.php#constant.in-moved-from">IN_MOVED_FROM</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File moved out of watched directory (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-create">
     <strong><code><a href="inotify.constants.php#constant.in-create">IN_CREATE</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File or directory created in watched directory (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-delete">
     <strong><code><a href="inotify.constants.php#constant.in-delete">IN_DELETE</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File or directory deleted in watched directory (*)
     </span>
    </dd>
   
   
    <dt id="constant.in-delete-self">
     <strong><code><a href="inotify.constants.php#constant.in-delete-self">IN_DELETE_SELF</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Watched file or directory was deleted
     </span>
    </dd>
   
   
    <dt id="constant.in-move-self">
     <strong><code><a href="inotify.constants.php#constant.in-move-self">IN_MOVE_SELF</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Watch file or directory was moved
     </span>
    </dd>
   
   
    <dt id="constant.in-close">
     <strong><code><a href="inotify.constants.php#constant.in-close">IN_CLOSE</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Equals to IN_CLOSE_WRITE | IN_CLOSE_NOWRITE
     </span>
    </dd>
   
   
    <dt id="constant.in-move">
     <strong><code><a href="inotify.constants.php#constant.in-move">IN_MOVE</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Equals to IN_MOVED_FROM | IN_MOVED_TO
     </span>
    </dd>
   
   
    <dt id="constant.in-all-events">
     <strong><code><a href="inotify.constants.php#constant.in-all-events">IN_ALL_EVENTS</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Bitmask of all the above constants
     </span>
    </dd>
   
   
    <dt id="constant.in-unmount">
     <strong><code><a href="inotify.constants.php#constant.in-unmount">IN_UNMOUNT</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      File system containing watched object was unmounted
     </span>
    </dd>
   
   
    <dt id="constant.in-q-overflow">
     <strong><code><a href="inotify.constants.php#constant.in-q-overflow">IN_Q_OVERFLOW</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Event queue overflowed (wd is -1 for this event)
     </span>
    </dd>
   
   
    <dt id="constant.in-ignored">
     <strong><code><a href="inotify.constants.php#constant.in-ignored">IN_IGNORED</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Watch was removed (explicitly by <span class="function"><a href="function.inotify-rm-watch.php" class="function">inotify_rm_watch()</a></span>
      or because file was removed or filesystem unmounted
     </span>
    </dd>
   
   
    <dt id="constant.in-isdir">
     <strong><code><a href="inotify.constants.php#constant.in-isdir">IN_ISDIR</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Subject of this event is a directory
     </span>
    </dd>
   
   
    <dt id="constant.in-onlydir">
     <strong><code><a href="inotify.constants.php#constant.in-onlydir">IN_ONLYDIR</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Only watch pathname if it is a directory (Since Linux 2.6.15)
     </span>
    </dd>
   
   
    <dt id="constant.in-dont-follow">
     <strong><code><a href="inotify.constants.php#constant.in-dont-follow">IN_DONT_FOLLOW</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Do not dereference pathname if it is a symlink (Since Linux 2.6.15)
     </span>
    </dd>
   
   
    <dt id="constant.in-mask-add">
     <strong><code><a href="inotify.constants.php#constant.in-mask-add">IN_MASK_ADD</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Add events to watch mask for this pathname if it already exists
      (instead of replacing mask).
     </span>
    </dd>
   
   
    <dt id="constant.in-oneshot">
     <strong><code><a href="inotify.constants.php#constant.in-oneshot">IN_ONESHOT</a></code></strong>
      (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Monitor pathname for one event, then remove from watch list.
     </span>
    </dd>
   
  </dl>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
   <span class="simpara">
    The events marked with an asterisk (*) above can occur for files in watched
    directories.
   </span>
  </p></blockquote>
</div>
<?php manual_footer($setup); ?>