<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.eio.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'eio.constants.php',
    1 => 'Vordefinierte Konstanten',
    2 => 'Vordefinierte Konstanten',
  ),
  'up' => 
  array (
    0 => 'book.eio.php',
    1 => 'Eio',
  ),
  'prev' => 
  array (
    0 => 'eio.resources.php',
    1 => 'Ressource-Typen',
  ),
  'next' => 
  array (
    0 => 'eio.examples.php',
    1 => 'Beispiele',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/eio/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="eio.constants" class="appendix">
 <h1 class="title">Vordefinierte Konstanten</h1>

 <p class="simpara">Folgende Konstanten werden von dieser
Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder
statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen
wurde.</p>

 <p class="para">Request priority constants:
  <dl>

   
    <dt id="constant.eio-pri-min">
     <strong><code><a href="eio.constants.php#constant.eio-pri-min">EIO_PRI_MIN</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Request minimal prioriry
     </span>
    </dd>
   
   
    <dt id="constant.eio-pri-default">
     <strong><code><a href="eio.constants.php#constant.eio-pri-default">EIO_PRI_DEFAULT</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Request default prioriry
     </span>
    </dd>
   
   
    <dt id="constant.eio-pri-max">
     <strong><code><a href="eio.constants.php#constant.eio-pri-max">EIO_PRI_MAX</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Request maximal prioriry
     </span>
    </dd>
   
   
  </dl>
 </p>

 <p class="para"><span class="function"><a href="function.eio-seek.php" class="function">eio_seek()</a></span> <code class="parameter">whence</code> argument:
  <dl>
   
    <dt id="constant.eio-seek-set">
     <strong><code><a href="eio.constants.php#constant.eio-seek-set">EIO_SEEK_SET</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      The offset is set to specified number of bytes(<code class="parameter">offset</code>).
     </span>
    </dd>
   
   
    <dt id="constant.eio-seek-cur">
     <strong><code><a href="eio.constants.php#constant.eio-seek-cur">EIO_SEEK_CUR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      The offset is set to its current location plus <code class="parameter">offset</code> bytes.
     </span>
    </dd>
   
   
    <dt id="constant.eio-seek-end">
     <strong><code><a href="eio.constants.php#constant.eio-seek-end">EIO_SEEK_END</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      The offset is set to the size of the file plus <code class="parameter">offset</code> bytes.
     </span>
    </dd>
   
  </dl>
 </p>

 <p class="para">
  Flags used with <span class="function"><a href="function.eio-readdir.php" class="function">eio_readdir()</a></span>:
  <dl>


   
    <dt id="constant.eio-readdir-dents">
     <strong><code><a href="eio.constants.php#constant.eio-readdir-dents">EIO_READDIR_DENTS</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     <span class="function"><a href="function.eio-readdir.php" class="function">eio_readdir()</a></span> flag. If specified, the result argument of the callback
     becomes an array with the following keys:
     <code class="literal">&#039;names&#039;</code> - array of directory names
     <code class="literal">&#039;dents&#039;</code> - array of <code class="literal">struct eio_dirent</code>-like
     arrays having the following keys each:
     <code class="literal">&#039;name&#039;</code> - the directory name;
     <code class="literal">&#039;type&#039;</code> - one of <em>EIO_DT_*</em>
     constants;
     <code class="literal">&#039;inode&#039;</code> - the inode number, if available, otherwise
     unspecified;
     </span>
    </dd>
   
   
    <dt id="constant.eio-readdir-dirs-first">
     <strong><code><a href="eio.constants.php#constant.eio-readdir-dirs-first">EIO_READDIR_DIRS_FIRST</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     When this flag is specified, the names will be returned in an order
     where likely directories come first, in optimal stat order.
     </span>
    </dd>
   
   
    <dt id="constant.eio-readdir-stat-order">
     <strong><code><a href="eio.constants.php#constant.eio-readdir-stat-order">EIO_READDIR_STAT_ORDER</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     When this flag is specified, then the names will be returned in an order
     suitable for <code class="literal">stat</code>&#039;ing each one. When planning to
     <span class="function"><a href="function.stat.php" class="function">stat()</a></span> all files in the given directory, the
     returned order will likely be
     fastest.
     </span>
    </dd>
   
   
    <dt id="constant.eio-readdir-found-unknown">
     <strong><code><a href="eio.constants.php#constant.eio-readdir-found-unknown">EIO_READDIR_FOUND_UNKNOWN</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">

     </span>
    </dd>
   



   
    <dt id="constant.eio-dt-unknown">
     <strong><code><a href="eio.constants.php#constant.eio-dt-unknown">EIO_DT_UNKNOWN</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Unknown node type(very common). Further <span class="function"><a href="function.stat.php" class="function">stat()</a></span> needed.
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-fifo">
     <strong><code><a href="eio.constants.php#constant.eio-dt-fifo">EIO_DT_FIFO</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     FIFO node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-chr">
     <strong><code><a href="eio.constants.php#constant.eio-dt-chr">EIO_DT_CHR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-mpc">
     <strong><code><a href="eio.constants.php#constant.eio-dt-mpc">EIO_DT_MPC</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Multiplexed char device (v7+coherent) node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-dir">
     <strong><code><a href="eio.constants.php#constant.eio-dt-dir">EIO_DT_DIR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Directory node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-nam">
     <strong><code><a href="eio.constants.php#constant.eio-dt-nam">EIO_DT_NAM</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Xenix special named file node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-blk">
     <strong><code><a href="eio.constants.php#constant.eio-dt-blk">EIO_DT_BLK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-mpb">
     <strong><code><a href="eio.constants.php#constant.eio-dt-mpb">EIO_DT_MPB</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Multiplexed block device (v7+coherent)
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-reg">
     <strong><code><a href="eio.constants.php#constant.eio-dt-reg">EIO_DT_REG</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-nwk">
     <strong><code><a href="eio.constants.php#constant.eio-dt-nwk">EIO_DT_NWK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-cmp">
     <strong><code><a href="eio.constants.php#constant.eio-dt-cmp">EIO_DT_CMP</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     HP-UX network special node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-lnk">
     <strong><code><a href="eio.constants.php#constant.eio-dt-lnk">EIO_DT_LNK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Link node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-sock">
     <strong><code><a href="eio.constants.php#constant.eio-dt-sock">EIO_DT_SOCK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Socket node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-door">
     <strong><code><a href="eio.constants.php#constant.eio-dt-door">EIO_DT_DOOR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Solaris door node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-wht">
     <strong><code><a href="eio.constants.php#constant.eio-dt-wht">EIO_DT_WHT</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Node type
     </span>
    </dd>
   
   
    <dt id="constant.eio-dt-max">
     <strong><code><a href="eio.constants.php#constant.eio-dt-max">EIO_DT_MAX</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     Highest node type value
     </span>
    </dd>
   



  </dl>
 </p>
 <p class="para">
  Access modes for <span class="function"><a href="function.eio-open.php" class="function">eio_open()</a></span> <code class="parameter">flags</code>
  argument:
  <dl>


   
    <dt id="constant.eio-o-rdonly">
     <strong><code><a href="eio.constants.php#constant.eio-o-rdonly">EIO_O_RDONLY</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-wronly">
     <strong><code><a href="eio.constants.php#constant.eio-o-wronly">EIO_O_WRONLY</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-rdwr">
     <strong><code><a href="eio.constants.php#constant.eio-o-rdwr">EIO_O_RDWR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-nonblock">
     <strong><code><a href="eio.constants.php#constant.eio-o-nonblock">EIO_O_NONBLOCK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-append">
     <strong><code><a href="eio.constants.php#constant.eio-o-append">EIO_O_APPEND</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-creat">
     <strong><code><a href="eio.constants.php#constant.eio-o-creat">EIO_O_CREAT</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-trunc">
     <strong><code><a href="eio.constants.php#constant.eio-o-trunc">EIO_O_TRUNC</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-excl">
     <strong><code><a href="eio.constants.php#constant.eio-o-excl">EIO_O_EXCL</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-o-fsync">
     <strong><code><a href="eio.constants.php#constant.eio-o-fsync">EIO_O_FSYNC</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   


  </dl>
 </p>
 <p class="para">
  <code class="parameter">mode</code> argument flags for <span class="function"><a href="function.eio-open.php" class="function">eio_open()</a></span>:
  <dl>


   
    <dt id="constant.eio-s-irusr">
     <strong><code><a href="eio.constants.php#constant.eio-s-irusr">EIO_S_IRUSR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-iwusr">
     <strong><code><a href="eio.constants.php#constant.eio-s-iwusr">EIO_S_IWUSR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ixusr">
     <strong><code><a href="eio.constants.php#constant.eio-s-ixusr">EIO_S_IXUSR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-irgrp">
     <strong><code><a href="eio.constants.php#constant.eio-s-irgrp">EIO_S_IRGRP</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-iwgrp">
     <strong><code><a href="eio.constants.php#constant.eio-s-iwgrp">EIO_S_IWGRP</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ixgrp">
     <strong><code><a href="eio.constants.php#constant.eio-s-ixgrp">EIO_S_IXGRP</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-iroth">
     <strong><code><a href="eio.constants.php#constant.eio-s-iroth">EIO_S_IROTH</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-iwoth">
     <strong><code><a href="eio.constants.php#constant.eio-s-iwoth">EIO_S_IWOTH</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ixoth">
     <strong><code><a href="eio.constants.php#constant.eio-s-ixoth">EIO_S_IXOTH</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ifreg">
     <strong><code><a href="eio.constants.php#constant.eio-s-ifreg">EIO_S_IFREG</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ifchr">
     <strong><code><a href="eio.constants.php#constant.eio-s-ifchr">EIO_S_IFCHR</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ifblk">
     <strong><code><a href="eio.constants.php#constant.eio-s-ifblk">EIO_S_IFBLK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ififo">
     <strong><code><a href="eio.constants.php#constant.eio-s-ififo">EIO_S_IFIFO</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-s-ifsock">
     <strong><code><a href="eio.constants.php#constant.eio-s-ifsock">EIO_S_IFSOCK</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   



  </dl>
 </p>
 <p class="para">
  <span class="function"><a href="function.eio-sync-file-range.php" class="function">eio_sync_file_range()</a></span> flags:
  <dl>


   
    <dt id="constant.eio-sync-file-range-wait-before">
     <strong><code><a href="eio.constants.php#constant.eio-sync-file-range-wait-before">EIO_SYNC_FILE_RANGE_WAIT_BEFORE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-sync-file-range-write">
     <strong><code><a href="eio.constants.php#constant.eio-sync-file-range-write">EIO_SYNC_FILE_RANGE_WRITE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   
   
    <dt id="constant.eio-sync-file-range-wait-after">
     <strong><code><a href="eio.constants.php#constant.eio-sync-file-range-wait-after">EIO_SYNC_FILE_RANGE_WAIT_AFTER</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   



  </dl>
 </p>
 <p class="para">
  <span class="function"><a href="function.eio-fallocate.php" class="function">eio_fallocate()</a></span> flags:
  <dl>

   
    <dt id="constant.eio-falloc-fl-keep-size">
     <strong><code><a href="eio.constants.php#constant.eio-falloc-fl-keep-size">EIO_FALLOC_FL_KEEP_SIZE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
     </span>
    </dd>
   

  </dl>
 </p>

 <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
  <span class="simpara">
   <em>EIO_S_I*</em> constants have the same meaning as their
   <em>S_I*</em> POSIX counterparts.
  </span>
 </p></blockquote>

 <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
  <span class="simpara">
   <em>EIO_SYNC_FILE_*</em> constants have the same meaning as their
   <em>SYNC_FILE_**</em> counterparts.
  </span>
 </p></blockquote>

 <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
  <span class="simpara">
   <em>EIO_O_*</em> constants have the same meaning as their
   <em>O_*</em> POSIX counterparts.
  </span>
 </p></blockquote>
</div>
<?php manual_footer($setup); ?>