reference/sockets/functions/socket-strerror.xml
14dc7c47365f2b71f6c907a5ba5bccf42534d5a9
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.socket-strerror">
3
+
<refentry xml:id="function.socket-strerror" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>socket_strerror</refname>
6
6
<refpurpose>Return a string describing a socket error</refpurpose>
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>socket_strerror</methodname>
13
-
<methodparam><type>int</type><parameter>errno</parameter></methodparam>
13
+
<methodparam><type>int</type><parameter>error_code</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>socket_strerror</function> takes as its
17
-
<parameter>errno</parameter> parameter a socket error code as returned by
17
+
<parameter>error_code</parameter> parameter a socket error code as returned by
18
18
<function>socket_last_error</function> and returns the corresponding
19
19
explanatory text.
20
20
</para>
...
...
@@ -32,7 +32,7 @@
32
32
<para>
33
33
<variablelist>
34
34
<varlistentry>
35
-
<term><parameter>errno</parameter></term>
35
+
<term><parameter>error_code</parameter></term>
36
36
<listitem>
37
37
<para>
38
38
A valid socket error number, likely produced by
...
...
@@ -47,7 +47,7 @@
47
47
<refsect1 role="returnvalues">
48
48
&reftitle.returnvalues;
49
49
<para>
50
-
Returns the error message associated with the <parameter>errno</parameter>
50
+
Returns the error message associated with the <parameter>error_code</parameter>
51
51
parameter.
52
52
</para>
53
53
</refsect1>
...
...
@@ -97,7 +97,6 @@ socket_bind() failed: reason: Permission denied
97
97
</refsect1>
98
98

99
99
</refentry>
100
-

101
100
<!-- Keep this comment at the end of the file
102
101
Local variables:
103
102
mode: sgml
104
103