aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-12-04 05:46:35 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-12-04 05:46:35 +0000
commit7cc028fb0c410ec1665b9cf16143c166643a3c52 (patch)
tree101497bb4d04d1099349a76943a959481c951b64 /man3
parent609af441bea99ed57a18115391723e00e082b2cc (diff)
downloadman-pages-7cc028fb0c410ec1665b9cf16143c166643a3c52.tar.gz
Clarified description of inet_network().
Diffstat (limited to 'man3')
-rw-r--r--man3/inet.38
1 files changed, 5 insertions, 3 deletions
diff --git a/man3/inet.3 b/man3/inet.3
index 4855bc92f3..b1ac003bbd 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -70,9 +70,11 @@ immediately above; it is obsolete because \-1 is a valid address
(255.255.255.255), and \fBinet_aton\fP() provides a cleaner way
to indicate error return.
.PP
-The \fBinet_network\fP() function extracts the network number in
-host byte order from the address \fIcp\fP in numbers-and-dots
-notation. If the input is invalid, \-1 is returned.
+
+The \fBinet_network\fP() function extracts
+a number in host byte order suitable for use as an Internet address
+from \fIcp\fP, which is a string in numbers-and-dots notation.
+If the input is invalid, \-1 is returned.
.PP
The \fBinet_ntoa\fP() function converts the Internet host address
\fIin\fP given in network byte order to a string in standard