diff options
| -rw-r--r-- | man3/inet.3 | 8 |
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 |
