cvs: phpdoc /en/reference/posix/functions posix-get-last-error.xml posix-strerror.xml
| From: | Philip Olson | Date: | Wed, 21 May 2003 23:54:59 +0000 |
| Subject: | cvs: phpdoc /en/reference/posix/functions posix-get-last-error.xml posix-strerror.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353738@lists.php.net to get a copy of this message | ||
philip Wed May 21 19:54:59 2003 EDT
Added files:
/phpdoc/en/reference/posix/functions posix-get-last-error.xml
posix-strerror.xml
Log:
Initial documentation.
Index: phpdoc/en/reference/posix/functions/posix-get-last-error.xml
+++ phpdoc/en/reference/posix/functions/posix-get-last-error.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.posix-get-last-error">
<refnamediv>
<refname>posix_get_last_error</refname>
<refpurpose>
Retrieve the error number set by the last posix function
that failed.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>posix_get_last_error</methodname>
<void />
</methodsynopsis>
<para>
Returns the errno (error number) set by the last posix function that
failed. If no errors exist, 0 is returned. If you're wanting the
system error message associated with the errno, use
<function>posix_strerror</function>.
</para>
<para>
See also <function>posix_strerror</function>.
</para>
</refsect1>
</refentry>
<!-- 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:"../../../../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
-->
Index: phpdoc/en/reference/posix/functions/posix-strerror.xml
+++ phpdoc/en/reference/posix/functions/posix-strerror.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.posix-strerror">
<refnamediv>
<refname>posix_strerror</refname>
<refpurpose>
Retrieve the system error message associated with the given errno.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>posix_strerror</methodname>
<methodparam><type>int</type><parameter>errno</parameter></methodparam>
</methodsynopsis>
<para>
Returns the POSIX system error message associated with the given errno.
If <parameter>errno</parameter> is 0, then the string "Success" is
returned. The function <function>posix_get_last_error</function> is
commonly used for retrieving the last POSIX errno.
</para>
<para>
See also <function>posix_get_last_error</function>.
</para>
</refsect1>
</refentry>
<!-- 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:"../../../../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
-->