php-doc-en/reference/posix/constants.xml
Daniel Egeberg 2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00

134 lines
2.7 KiB
XML

<?xml version='1.0' encoding="utf-8"?>
<!-- $Revision$ -->
<appendix xml:id="posix.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<variablelist>
<varlistentry>
<term>
<constant>POSIX_F_OK</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Check whether the file exists.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<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>
<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>
<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>
<term>
<constant>POSIX_S_IFBLK</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Block special file
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>POSIX_S_IFCHR</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Character special file
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>POSIX_S_IFIFO</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
FIFO (named pipe) special file
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>POSIX_S_IFREG</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Normal file
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<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>
</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
-->