<?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 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'inotify.constants.php',
    1 => 'Constantes predefinidas',
    2 => 'Constantes predefinidas',
  ),
  'up' => 
  array (
    0 => 'book.inotify.php',
    1 => 'Inotify',
  ),
  'prev' => 
  array (
    0 => 'inotify.resources.php',
    1 => 'Tipos de Recurso',
  ),
  'next' => 
  array (
    0 => 'ref.inotify.php',
    1 => 'Fun&ccedil;&otilde;es de Inotify',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    '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">Constantes predefinidas</h1>

  <p class="simpara">
As constantes abaixo são definidas por esta extensão e
só estarão disponíveis quando a extensão tiver sido compilada no PHP
ou tiver sido carregada dinamicamente em tempo de execução.
</p>
  <dl id="inotify.constants.events">
   <strong class="title">Constantes Inotify utilizáveis com <span class="function"><a href="function.inotify-add-watch.php" class="function">inotify_add_watch()</a></span> e/ou retornadas por <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">
      Arquivo foi acessado (lido) (*)
     </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">
      O arquivo foi modificado (*)
     </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">
      Metadados alterados (por exemplo, permissões, data/horário de modificação 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">
      Arquivo aberto para escrita foi fechado (*)
     </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">
      Arquivo não aberto para escrita foi fechado (*)
     </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">
      O arquivo foi aberto (*)
     </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">
      Arquivo movido para o diretório monitorado (*)
     </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">
      Arquivo movido para fora do diretório monitorado (*)
     </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">
      Arquivo ou diretório criado no diretório monitorado (*)
     </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">
      Arquivo ou diretório excluído no diretório monitorado (*)
     </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">
      O arquivo ou diretório monitorado foi excluído
     </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">
      O arquivo ou diretório monitorado foi movido
     </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">
      Igual a 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">
      Igual a 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">
      Máscara de bits de todas as constantes acima
     </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">
      O sistema de arquivos que contém o objeto monitorado foi desmontado
     </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">
      A fila de eventos estourou (wd é -1 para este evento)
     </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">
      O monitoramento foi removido (explicitamente por <span class="function"><a href="function.inotify-rm-watch.php" class="function">inotify_rm_watch()</a></span>
      ou porque o arquivo foi removido ou o sistema de arquivos foi desmontado)
     </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">
      O sujeito deste evento é um diretório
     </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">
      Somente monitora o nome do caminho se for um diretório (desde o 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">
      Não remove a referência do caminho se for uma ligação simbólica (desde o 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">
      Adiciona eventos para a máscara de monitoramento para este nome de caminho, se ele já existir
      (em vez de substituir a máscara).
     </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">
      Monitora o nome do caminho de um evento e remove-o da lista de monitoramento.
     </span>
    </dd>
   
  </dl>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <span class="simpara">
    Os eventos marcados com um asterisco (*) acima podem ocorrer para arquivos em
    diretórios monitorados.
   </span>
  </p></blockquote>
</div>
<?php manual_footer($setup); ?>