Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 2019

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eio.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="eio.examples.html">Examples</a></div>
 <div class="up"><a href="book.eio.html">Eio</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="eio.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>

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


   
    <dt id="constant.eio-pri-min">
     <strong><code>EIO_PRI_MIN</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      Request minimal prioriry
     </span>
    </dd>

   
   
    <dt id="constant.eio-pri-default">
     <strong><code>EIO_PRI_DEFAULT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Request default prioriry
     </span>
    </dd>

   
   
    <dt id="constant.eio-pri-max">
     <strong><code>EIO_PRI_MAX</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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.html" class="function">eio_seek()</a></span> <code class="parameter">whence</code> argument:
  <dl>

   
    <dt id="constant.eio-seek-set">
     <strong><code>EIO_SEEK_SET</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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>EIO_SEEK_CUR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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>EIO_SEEK_END</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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.html" class="function">eio_readdir()</a></span>:
  <dl>



   
    <dt id="constant.eio-readdir-dents">
     <strong><code>EIO_READDIR_DENTS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     <span class="function"><a href="function.eio-readdir.html" class="function">eio_readdir()</a></span> flag. If specified, the result argument of the callback
     becomes an array with the following keys:
     <em>&#039;names&#039;</em> - array of directory names
     <em>&#039;dents&#039;</em> - array of <em>struct eio_dirent</em>-like
     arrays having the following keys each:
     <em>&#039;name&#039;</em> - the directory name;
     <em>&#039;type&#039;</em> - one of <em class="emphasis">EIO_DT_*</em>
     constants;
     <em>&#039;inode&#039;</em> - the inode number, if available, otherwise
     unspecified;
     </span>
    </dd>

   
   
    <dt id="constant.eio-readdir-dirs-first">
     <strong><code>EIO_READDIR_DIRS_FIRST</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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>EIO_READDIR_STAT_ORDER</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     When this flag is specified, then the names will be returned in an order
     suitable for <em>stat</em>&#039;ing each one. When planning to
     <span class="function"><a href="function.stat.html" 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>EIO_READDIR_FOUND_UNKNOWN</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">

     </span>
    </dd>

   



   
    <dt id="constant.eio-dt-unknown">
     <strong><code>EIO_DT_UNKNOWN</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Unknown node type(very common). Further <span class="function"><a href="function.stat.html" class="function">stat()</a></span> needed.
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-fifo">
     <strong><code>EIO_DT_FIFO</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     FIFO node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-chr">
     <strong><code>EIO_DT_CHR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-mpc">
     <strong><code>EIO_DT_MPC</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Multiplexed char device (v7+coherent) node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-dir">
     <strong><code>EIO_DT_DIR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Directory node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-nam">
     <strong><code>EIO_DT_NAM</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Xenix special named file node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-blk">
     <strong><code>EIO_DT_BLK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-mpb">
     <strong><code>EIO_DT_MPB</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Multiplexed block device (v7+coherent)
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-reg">
     <strong><code>EIO_DT_REG</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-nwk">
     <strong><code>EIO_DT_NWK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-cmp">
     <strong><code>EIO_DT_CMP</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     HP-UX network special node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-lnk">
     <strong><code>EIO_DT_LNK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Link node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-sock">
     <strong><code>EIO_DT_SOCK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Socket node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-door">
     <strong><code>EIO_DT_DOOR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Solaris door node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-wht">
     <strong><code>EIO_DT_WHT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     Node type
     </span>
    </dd>

   
   
    <dt id="constant.eio-dt-max">
     <strong><code>EIO_DT_MAX</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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.html" class="function">eio_open()</a></span> <code class="parameter">flags</code>
  argument:
  <dl>



   
    <dt id="constant.eio-o-rdonly">
     <strong><code>EIO_O_RDONLY</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-wronly">
     <strong><code>EIO_O_WRONLY</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-rdwr">
     <strong><code>EIO_O_RDWR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-nonblock">
     <strong><code>EIO_O_NONBLOCK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-append">
     <strong><code>EIO_O_APPEND</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-creat">
     <strong><code>EIO_O_CREAT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-trunc">
     <strong><code>EIO_O_TRUNC</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-excl">
     <strong><code>EIO_O_EXCL</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-o-fsync">
     <strong><code>EIO_O_FSYNC</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</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.html" class="function">eio_open()</a></span>:
  <dl>



   
    <dt id="constant.eio-s-irusr">
     <strong><code>EIO_S_IRUSR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-iwusr">
     <strong><code>EIO_S_IWUSR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ixusr">
     <strong><code>EIO_S_IXUSR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-irgrp">
     <strong><code>EIO_S_IRGRP</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-iwgrp">
     <strong><code>EIO_S_IWGRP</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ixgrp">
     <strong><code>EIO_S_IXGRP</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-iroth">
     <strong><code>EIO_S_IROTH</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-iwoth">
     <strong><code>EIO_S_IWOTH</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ixoth">
     <strong><code>EIO_S_IXOTH</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ifreg">
     <strong><code>EIO_S_IFREG</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ifchr">
     <strong><code>EIO_S_IFCHR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ifblk">
     <strong><code>EIO_S_IFBLK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ififo">
     <strong><code>EIO_S_IFIFO</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-s-ifsock">
     <strong><code>EIO_S_IFSOCK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   



  </dl>

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



   
    <dt id="constant.eio-sync-file-range-wait-before">
     <strong><code>EIO_SYNC_FILE_RANGE_WAIT_BEFORE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-sync-file-range-write">
     <strong><code>EIO_SYNC_FILE_RANGE_WRITE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.eio-sync-file-range-wait-after">
     <strong><code>EIO_SYNC_FILE_RANGE_WAIT_AFTER</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   



  </dl>

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


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

    <dd>

     <span class="simpara">
     </span>
    </dd>

   

  </dl>

 </p>

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

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

 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <p class="para">
   <em class="emphasis">EIO_O_*</em> constants have the same meaning as their
   <em class="emphasis">O_*</em> POSIX counterparts.
  </p>
 </p></blockquote>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eio.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="eio.examples.html">Examples</a></div>
 <div class="up"><a href="book.eio.html">Eio</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>