reference/network/functions/getprotobynumber.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -9,12 +9,12 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>getprotobynumber</methodname>
13
-
<methodparam><type>int</type><parameter>number</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>getprotobynumber</methodname>
13
+
<methodparam><type>int</type><parameter>protocol</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>getprotobynumber</function> returns the protocol name
17
-
associated with protocol <parameter>number</parameter> as per
17
+
associated with protocol <parameter>protocol</parameter> as per
18
18
<filename>/etc/protocols</filename>.
19
19
</para>
20
20
</refsect1>
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>number</parameter></term>
27
+
<term><parameter>protocol</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The protocol number.
...
...
@@ -52,7 +52,6 @@
52
52
</refsect1>
53
53

54
54
</refentry>
55
-

56
55
<!-- Keep this comment at the end of the file
57
56
Local variables:
58
57
mode: sgml
59
58