reference/curl/functions/curl-share-errno.xml
3f118edd6a3b1433a5d6c7fc081d2433ce63041b
...
...
@@ -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-errno" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>curl_share_errno</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description"><!-- {{{ -->
11
10
&reftitle.description;
12
-
<methodsynopsis role="procedural">
11
+
<methodsynopsis>
13
12
<type>int</type><methodname>curl_share_errno</methodname>
14
-
<methodparam><type>resource</type><parameter>sh</parameter></methodparam>
13
+
<methodparam><type>CurlShareHandle</type><parameter>share_handle</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Return an integer containing the last share curl error number.
...
...
@@ -21,25 +20,40 @@
21
20
<refsect1 role="parameters"><!-- {{{ -->
22
21
&reftitle.parameters;
23
22
<variablelist>
24
-
<varlistentry>
25
-
<term><parameter>sh</parameter></term>
26
-
<listitem>
27
-
<para>
28
-
A cURL share handle returned by <function>curl_share_init</function>.
29
-
</para>
30
-
</listitem>
31
-
</varlistentry>
23
+
&curl.sh.description;
32
24
</variablelist>
33
25
</refsect1><!-- }}} -->
34
26

35
27
<refsect1 role="returnvalues"><!-- {{{ -->
36
28
&reftitle.returnvalues;
37
29
<para>
38
-
Returns an integer containing the last share curl error number,
39
-
&return.falseforfailure;.
30
+
Returns an integer containing the last share curl error number.
40
31
</para>
41
32
</refsect1><!-- }}} -->
42
33

34
+
<refsect1 role="changelog">
35
+
&reftitle.changelog;
36
+
<informaltable>
37
+
<tgroup cols="2">
38
+
<thead>
39
+
<row>
40
+
<entry>&Version;</entry>
41
+
<entry>&Description;</entry>
42
+
</row>
43
+
</thead>
44
+
<tbody>
45
+
<row>
46
+
<entry>8.0.0</entry>
47
+
<entry>
48
+
The function no longer returns &false; on failure.
49
+
</entry>
50
+
</row>
51
+
&curl.changelog.share-handle-param;
52
+
</tbody>
53
+
</tgroup>
54
+
</informaltable>
55
+
</refsect1>
56
+

43
57
<refsect1 role="seealso"><!-- {{{ -->
44
58
&reftitle.seealso;
45
59
<simplelist>
...
...
@@ -48,7 +62,6 @@
48
62
</refsect1><!-- }}} -->
49
63

50
64
</refentry>
51
-

52
65
<!-- Keep this comment at the end of the file
53
66
Local variables:
54
67
mode: sgml
55
68