mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Reorganise the POSIX constants into sections.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337882 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c829fb19eb
commit
20f3bb64da
1 changed files with 122 additions and 107 deletions
|
@ -3,113 +3,128 @@
|
|||
<appendix xml:id="posix.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.posix-f-ok">
|
||||
<term>
|
||||
<constant>POSIX_F_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-r-ok">
|
||||
<term>
|
||||
<constant>POSIX_R_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists and has read permissions.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-w-ok">
|
||||
<term>
|
||||
<constant>POSIX_W_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists and has write permissions.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-x-ok">
|
||||
<term>
|
||||
<constant>POSIX_X_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists and has execute permissions.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifblk">
|
||||
<term>
|
||||
<constant>POSIX_S_IFBLK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Block special file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifchr">
|
||||
<term>
|
||||
<constant>POSIX_S_IFCHR</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Character special file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ififo">
|
||||
<term>
|
||||
<constant>POSIX_S_IFIFO</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
FIFO (named pipe) special file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifreg">
|
||||
<term>
|
||||
<constant>POSIX_S_IFREG</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Normal file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifsock">
|
||||
<term>
|
||||
<constant>POSIX_S_IFSOCK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Socket
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<note>
|
||||
<para>
|
||||
These constants are available since PHP 5.1.0. Please also note that some
|
||||
of them may not be available in your system.
|
||||
</para>
|
||||
</note>
|
||||
<section xml:id="posix.constants.access">
|
||||
<title><function>posix_access</function> constants</title>
|
||||
<note>
|
||||
<para>
|
||||
These constants are available starting with PHP 5.1.0. Please note that
|
||||
some of them may not be available on your system.
|
||||
</para>
|
||||
</note>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.posix-f-ok">
|
||||
<term>
|
||||
<constant>POSIX_F_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-r-ok">
|
||||
<term>
|
||||
<constant>POSIX_R_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists and has read permissions.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-w-ok">
|
||||
<term>
|
||||
<constant>POSIX_W_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists and has write permissions.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-x-ok">
|
||||
<term>
|
||||
<constant>POSIX_X_OK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Check whether the file exists and has execute permissions.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
<section xml:id="posix.constants.mknod">
|
||||
<title><function>posix_mknod</function> constants</title>
|
||||
<note>
|
||||
<para>
|
||||
These constants are available starting with PHP 5.1.0. Please note that
|
||||
some of them may not be available on your system.
|
||||
</para>
|
||||
</note>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.posix-s-ifblk">
|
||||
<term>
|
||||
<constant>POSIX_S_IFBLK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Block special file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifchr">
|
||||
<term>
|
||||
<constant>POSIX_S_IFCHR</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Character special file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ififo">
|
||||
<term>
|
||||
<constant>POSIX_S_IFIFO</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
FIFO (named pipe) special file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifreg">
|
||||
<term>
|
||||
<constant>POSIX_S_IFREG</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Normal file
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-s-ifsock">
|
||||
<term>
|
||||
<constant>POSIX_S_IFSOCK</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Socket
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
Loading…
Reference in a new issue