svn: /phpdoc/en/trunk/reference/posix/ constants.xml

From: Date: Mon, 21 Sep 2015 12:18:03 +0000
Subject: svn: /phpdoc/en/trunk/reference/posix/ constants.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13761@lists.php.net to get a copy of this message
aharvey Mon, 21 Sep 2015 12:18:03 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337882 Log: Reorganise the POSIX constants into sections. Changed paths: U phpdoc/en/trunk/reference/posix/constants.xml Modified: phpdoc/en/trunk/reference/posix/constants.xml =================================================================== --- phpdoc/en/trunk/reference/posix/constants.xml 2015-09-21 12:17:58 UTC (rev 337881) +++ phpdoc/en/trunk/reference/posix/constants.xml 2015-09-21 12:18:03 UTC (rev 337882) @@ -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

« previous php.doc.cvs (#13761) next »