reference/network/functions/gethostbyaddr.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -10,12 +10,12 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>string</type><methodname>gethostbyaddr</methodname>
14
-
<methodparam><type>string</type><parameter>ip_address</parameter></methodparam>
13
+
<type class="union"><type>string</type><type>false</type></type><methodname>gethostbyaddr</methodname>
14
+
<methodparam><type>string</type><parameter>ip</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Returns the host name of the Internet host specified by
18
-
<parameter>ip_address</parameter>.
18
+
<parameter>ip</parameter>.
19
19
</para>
20
20
</refsect1>
21
21

...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>ip_address</parameter></term>
27
+
<term><parameter>ip</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The host IP address.
...
...
@@ -38,7 +38,7 @@
38
38
<refsect1 role="returnvalues">
39
39
&reftitle.returnvalues;
40
40
<para>
41
-
Returns the host name on success, the unmodified <parameter>ip_address</parameter>
41
+
Returns the host name on success, the unmodified <parameter>ip</parameter>
42
42
on failure, or &false; on malformed input.
43
43
</para>
44
44
</refsect1>
...
...
@@ -72,7 +72,6 @@ echo $hostname;
72
72
</refsect1>
73
73

74
74
</refentry>
75
-

76
75
<!-- Keep this comment at the end of the file
77
76
Local variables:
78
77
mode: sgml
79
78