reference/curl/functions/curl-share-strerror.xml
b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.curl-share-strerror" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>curl_share_strerror</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description"><!-- {{{ -->
11
10
&reftitle.description;
12
-
<methodsynopsis role="procedural">
13
-
<type>string</type><methodname>curl_share_strerror</methodname>
14
-
<methodparam><type>int</type><parameter>errornum</parameter></methodparam>
11
+
<methodsynopsis>
12
+
<type class="union"><type>string</type><type>null</type></type><methodname>curl_share_strerror</methodname>
13
+
<methodparam><type>int</type><parameter>error_code</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns a text error message describing the given error code.
...
...
@@ -22,7 +21,7 @@
22
21
&reftitle.parameters;
23
22
<variablelist>
24
23
<varlistentry>
25
-
<term><parameter>errornum</parameter></term>
24
+
<term><parameter>error_code</parameter></term>
26
25
<listitem>
27
26
<para>
28
27
One of the <link xlink:href="&url.curl.error;">cURL error codes</link> constants.
...
...
@@ -48,7 +47,6 @@
48
47
</refsect1><!-- }}} -->
49
48

50
49
</refentry>
51
-

52
50
<!-- Keep this comment at the end of the file
53
51
Local variables:
54
52
mode: sgml
55
53