Skip to content

Commit b1ed6bb

Browse files
author
Hartmut Holzgraefe
committed
minimal documentation for yet undocumented stuff
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@117304 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent fa63d53 commit b1ed6bb

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

reference/curl/functions/curl-errno.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="iso-8859-1"?>
2-
<!-- $Revision: 1.3 $ -->
2+
<!-- $Revision: 1.4 $ -->
33
<!-- splitted from ./en/functions/curl.xml, last change in rev 1.21 -->
44
<refentry id='function.curl-errno'>
55
<refnamediv>
66
<refname>curl_errno</refname>
7-
<refpurpose>Return an integer containing the last error number</refpurpose>
7+
<refpurpose>Return the last error number</refpurpose>
88
</refnamediv>
99
<refsect1>
1010
<title>Description</title>
@@ -13,8 +13,11 @@
1313
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
1414
</methodsynopsis>
1515
<para>
16-
&warn.undocumented.func;
16+
Returns the error number for the last cURL operation on the
17+
resource <parameter>ch</parameter>, or
18+
<literal>0</literal> (zero) if no error occurred.
1719
</para>
20+
<para>See also <function>curl_error</function>.</para>
1821
</refsect1>
1922
</refentry>
2023

reference/curl/functions/curl-error.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="iso-8859-1"?>
2-
<!-- $Revision: 1.3 $ -->
2+
<!-- $Revision: 1.4 $ -->
33
<!-- splitted from ./en/functions/curl.xml, last change in rev 1.21 -->
44
<refentry id='function.curl-error'>
55
<refnamediv>
@@ -15,8 +15,11 @@
1515
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
1616
</methodsynopsis>
1717
<para>
18-
&warn.undocumented.func;
18+
Returns a clear text error message for the last cURL operation on the
19+
resource <parameter>ch</parameter>, or
20+
<literal>''</literal> (the empty string) if no error occurred.
1921
</para>
22+
<para>See also <function>curl_errno</function>.</para>
2023
</refsect1>
2124
</refentry>
2225

0 commit comments

Comments
 (0)