reference/network/functions/getservbyport.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>getservbyport</methodname>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>getservbyport</methodname>
13
13
<methodparam><type>int</type><parameter>port</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>protocol</parameter></methodparam>
15
15
</methodsynopsis>
...
...
@@ -48,7 +48,7 @@
48
48
<refsect1 role="returnvalues">
49
49
&reftitle.returnvalues;
50
50
<para>
51
-
Returns the Internet service name as a string.
51
+
Returns the Internet service name as a string, &return.falseforfailure;.
52
52
</para>
53
53
</refsect1>
54
54

...
...
@@ -62,7 +62,6 @@
62
62
</refsect1>
63
63

64
64
</refentry>
65
-

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