mirror of
https://github.com/php/doc-ja.git
synced 2026-03-23 22:52:11 +01:00
677 lines
16 KiB
XML
677 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 4e53894013ec0d223e2723ece46447ba00d5baf5 Maintainer: takagi Status: ready -->
|
|
<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="eio.constants">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
|
|
<para>リクエストの優先度
|
|
<variablelist>
|
|
<!--{{{ EIO_PRI_* -->
|
|
<varlistentry xml:id="constant.eio-pri-min">
|
|
<term>
|
|
<constant>EIO_PRI_MIN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
優先度最小
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-pri-default">
|
|
<term>
|
|
<constant>EIO_PRI_DEFAULT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
優先度標準
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-pri-max">
|
|
<term>
|
|
<constant>EIO_PRI_MAX</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
優先度最大
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<!--}}}-->
|
|
</variablelist>
|
|
</para>
|
|
|
|
<para><function>eio_seek</function> の <parameter>whence</parameter> 引数
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.eio-seek-set">
|
|
<term>
|
|
<constant>EIO_SEEK_SET</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
オフセットをバイト数で指定する (<parameter>offset</parameter>)。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-seek-cur">
|
|
<term>
|
|
<constant>EIO_SEEK_CUR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
オフセットを現在位置に <parameter>offset</parameter> バイト加えた値にする。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-seek-end">
|
|
<term>
|
|
<constant>EIO_SEEK_END</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
オフセットをファイルのサイズに <parameter>offset</parameter> バイト加えた値にする。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
|
|
<para>
|
|
<function>eio_readdir</function> で使うフラグ
|
|
<variablelist>
|
|
|
|
<!--{{{ EIO_READDIR_* -->
|
|
<varlistentry xml:id="constant.eio-readdir-dents">
|
|
<term>
|
|
<constant>EIO_READDIR_DENTS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<function>eio_readdir</function> のフラグ。指定すると、コールバックの result 引数が次のキーを持つ配列になります。
|
|
<literal>'names'</literal> - ディレクトリ名の配列/
|
|
<literal>'dents'</literal> - <literal>struct eio_dirent</literal> 風の配列で、
|
|
それぞれがさらに以下のキーを持ちます (
|
|
<literal>'name'</literal> - ディレクトリ名/
|
|
<literal>'type'</literal> - <emphasis>EIO_DT_*</emphasis> 定数のいずれか/
|
|
<literal>'inode'</literal> - inode 番号。存在しない場合は不定
|
|
)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-readdir-dirs-first">
|
|
<term>
|
|
<constant>EIO_READDIR_DIRS_FIRST</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
このフラグを指定すると、ディレクトリをまず最初に返して
|
|
stat に最適化した順に返します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-readdir-stat-order">
|
|
<term>
|
|
<constant>EIO_READDIR_STAT_ORDER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
このフラグを指定すると、名前を返すときの順序が
|
|
各ファイルを <literal>stat</literal> するのに適した順となります。
|
|
指定したディレクトリにあるすべてのファイルを
|
|
<function>stat</function> するつもりなら、この順にしておけば最速になります。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-readdir-found-unknown">
|
|
<term>
|
|
<constant>EIO_READDIR_FOUND_UNKNOWN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<!--}}}-->
|
|
|
|
<!--{{{ EIO_DT_* -->
|
|
<varlistentry xml:id="constant.eio-dt-unknown">
|
|
<term>
|
|
<constant>EIO_DT_UNKNOWN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
不明なノード型 (ありがち)。さらに <function>stat</function> が必要です。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-fifo">
|
|
<term>
|
|
<constant>EIO_DT_FIFO</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
FIFO ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-chr">
|
|
<term>
|
|
<constant>EIO_DT_CHR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-mpc">
|
|
<term>
|
|
<constant>EIO_DT_MPC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
多重化キャラクタデバイス (v7+coherent) ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-dir">
|
|
<term>
|
|
<constant>EIO_DT_DIR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ディレクトリノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-nam">
|
|
<term>
|
|
<constant>EIO_DT_NAM</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Xenix 名前付きファイルノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-blk">
|
|
<term>
|
|
<constant>EIO_DT_BLK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-mpb">
|
|
<term>
|
|
<constant>EIO_DT_MPB</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
多重化ブロックデバイス (v7+coherent)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-reg">
|
|
<term>
|
|
<constant>EIO_DT_REG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-nwk">
|
|
<term>
|
|
<constant>EIO_DT_NWK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-cmp">
|
|
<term>
|
|
<constant>EIO_DT_CMP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
HP-UX ネットワークノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-lnk">
|
|
<term>
|
|
<constant>EIO_DT_LNK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
リンクノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-sock">
|
|
<term>
|
|
<constant>EIO_DT_SOCK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ソケットノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-door">
|
|
<term>
|
|
<constant>EIO_DT_DOOR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Solaris door ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-wht">
|
|
<term>
|
|
<constant>EIO_DT_WHT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ノード型
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-dt-max">
|
|
<term>
|
|
<constant>EIO_DT_MAX</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
ノード型の最大値
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<!--}}}-->
|
|
|
|
</variablelist>
|
|
</para>
|
|
<para>
|
|
<function>eio_open</function> の <parameter>flags</parameter> 引数用のアクセスモード
|
|
<variablelist>
|
|
|
|
<!--{{{ EIO_O_*-->
|
|
<varlistentry xml:id="constant.eio-o-rdonly">
|
|
<term>
|
|
<constant>EIO_O_RDONLY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-wronly">
|
|
<term>
|
|
<constant>EIO_O_WRONLY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-rdwr">
|
|
<term>
|
|
<constant>EIO_O_RDWR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-nonblock">
|
|
<term>
|
|
<constant>EIO_O_NONBLOCK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-append">
|
|
<term>
|
|
<constant>EIO_O_APPEND</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-creat">
|
|
<term>
|
|
<constant>EIO_O_CREAT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-trunc">
|
|
<term>
|
|
<constant>EIO_O_TRUNC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-excl">
|
|
<term>
|
|
<constant>EIO_O_EXCL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-o-fsync">
|
|
<term>
|
|
<constant>EIO_O_FSYNC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<!--}}}-->
|
|
|
|
</variablelist>
|
|
</para>
|
|
<para>
|
|
<function>eio_open</function> の <parameter>mode</parameter> 引数用のフラグ
|
|
<variablelist>
|
|
|
|
<!--{{{ EIO_S_I*-->
|
|
<varlistentry xml:id="constant.eio-s-irusr">
|
|
<term>
|
|
<constant>EIO_S_IRUSR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-iwusr">
|
|
<term>
|
|
<constant>EIO_S_IWUSR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ixusr">
|
|
<term>
|
|
<constant>EIO_S_IXUSR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-irgrp">
|
|
<term>
|
|
<constant>EIO_S_IRGRP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-iwgrp">
|
|
<term>
|
|
<constant>EIO_S_IWGRP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ixgrp">
|
|
<term>
|
|
<constant>EIO_S_IXGRP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-iroth">
|
|
<term>
|
|
<constant>EIO_S_IROTH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-iwoth">
|
|
<term>
|
|
<constant>EIO_S_IWOTH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ixoth">
|
|
<term>
|
|
<constant>EIO_S_IXOTH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ifreg">
|
|
<term>
|
|
<constant>EIO_S_IFREG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ifchr">
|
|
<term>
|
|
<constant>EIO_S_IFCHR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ifblk">
|
|
<term>
|
|
<constant>EIO_S_IFBLK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ififo">
|
|
<term>
|
|
<constant>EIO_S_IFIFO</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-s-ifsock">
|
|
<term>
|
|
<constant>EIO_S_IFSOCK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<!--}}}-->
|
|
|
|
|
|
</variablelist>
|
|
</para>
|
|
<para>
|
|
<function>eio_sync_file_range</function> のフラグ
|
|
<variablelist>
|
|
|
|
<!--{{{ EIO_SYNC_FILE_*-->
|
|
<varlistentry xml:id="constant.eio-sync-file-range-wait-before">
|
|
<term>
|
|
<constant>EIO_SYNC_FILE_RANGE_WAIT_BEFORE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-sync-file-range-write">
|
|
<term>
|
|
<constant>EIO_SYNC_FILE_RANGE_WRITE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.eio-sync-file-range-wait-after">
|
|
<term>
|
|
<constant>EIO_SYNC_FILE_RANGE_WAIT_AFTER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<!--}}}-->
|
|
|
|
|
|
</variablelist>
|
|
</para>
|
|
<para>
|
|
<function>eio_fallocate</function> のフラグ
|
|
<variablelist>
|
|
|
|
<varlistentry xml:id="constant.eio-falloc-fl-keep-size">
|
|
<term>
|
|
<constant>EIO_FALLOC_FL_KEEP_SIZE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</para>
|
|
|
|
<note xmlns="http://docbook.org/ns/docbook">
|
|
<simpara>
|
|
<emphasis>EIO_S_I*</emphasis> 定数の意味は、POSIX での
|
|
<emphasis>S_I*</emphasis> と同じです。
|
|
</simpara>
|
|
</note>
|
|
|
|
<note xmlns="http://docbook.org/ns/docbook">
|
|
<simpara>
|
|
<emphasis>EIO_SYNC_FILE_*</emphasis> 定数の意味は、
|
|
<emphasis>SYNC_FILE_**</emphasis> と同じです。
|
|
</simpara>
|
|
</note>
|
|
|
|
<note xmlns="http://docbook.org/ns/docbook">
|
|
<simpara>
|
|
<emphasis>EIO_O_*</emphasis> 定数の意味は、POSIX での
|
|
<emphasis>O_*</emphasis> と同じです。
|
|
</simpara>
|
|
</note>
|
|
</appendix>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|