<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'inotify.constants.php',
    1 => 'Constantes pr&eacute;-d&eacute;finies',
    2 => 'Constantes pr&eacute;-d&eacute;finies',
  ),
  'up' => 
  array (
    0 => 'book.inotify.php',
    1 => 'Inotify',
  ),
  'prev' => 
  array (
    0 => 'inotify.resources.php',
    1 => 'Types de ressources',
  ),
  'next' => 
  array (
    0 => 'ref.inotify.php',
    1 => 'Fonctions Inotify',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    '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 pré-définies</h1>

  <p class="simpara">Ces constantes sont définies par cette
extension, et ne sont disponibles que si cette extension a été compilée avec
PHP, ou bien chargée au moment de l&#039;exécution.</p>
  <dl id="inotify.constants.events">
   <strong class="title">Les constantes Inotify sont utilisables avec les fonctions <span class="function"><a href="function.inotify-add-watch.php" class="function">inotify_add_watch()</a></span> 
   et/ou retournées par la fonction <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">
      Le fichier a été accédé (lu) (*)
     </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">
      Le fichier a été modifié (*)
     </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">
      Les métadonnées ont changé (p. ex. les permissions, la date de modification, 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">
      Le fichier ouvert en écriture a été refermé (*)
     </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">
      Le fichier non-ouvert en écriture a été refermé (*)
     </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">
      Le fichier a été ouvert (*)
     </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">
      Fichier déplacé dans un dossier surveillé (*)
     </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">
      Fichier déplacé depuis un dossier surveillé (*)
     </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">
      Fichier ou dossier créé dans un dossier surveillé (*)
     </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">
      Fichier ou dossier supprimé dans un dossier surveillé (*)
     </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">
      Les fichiers ou dossiers surveillés ont été supprimés
     </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">
      Les fichiers ou dossiers surveillés ont été déplacés
     </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">
      Égal à 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">
      Égal à 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">
      Composition de toutes les constantes précédentes
     </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">
      Le système de fichiers contenant les objets surveillés a été démonté
     </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">
      Queue d&#039;événements en dépassement de capacité (wd vaut -1 pour cet événement)
     </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">
      La surveillance a été retirée (explicitement par <span class="function"><a href="function.inotify-rm-watch.php" class="function">inotify_rm_watch()</a></span>
      ou parce que le fichier a été supprimé, ou que le système de fichiers a été démonté)
     </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">
      Le sujet de cet événement est un dossier
     </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">
      Ne surveille que le chemin, si c&#039;est un dossier (Depuis 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">
      Ne déréférence pas le chemin si c&#039;est un lien symbolique (Depuis 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">
      Ajoute les événements au masque de surveillance pour ce chemin, s&#039;il existe déjà
      (au lieu de remplacer).
     </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">
      Surveille le chemin de cet événement, puis le supprime de la liste de surveillance.
     </span>
    </dd>
   
  </dl>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    Les événements marqués par un astérisque (*) ci-dessus peuvent survenir pour des fichiers
    dans des dossiers sous surveillance.
   </span>
  </p></blockquote>
</div>
<?php manual_footer($setup); ?>