aboutsummaryrefslogtreecommitdiffstats
path: root/man3/inet.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:07:02 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-10-19 07:07:02 +0000
commit63aa9df02fee88a559822c460ab5a30f1d8414ee (patch)
treefedc607745a57e06a1a541feca62e18d51523ddb /man3/inet.3
parente511ffb6bcaa9a584412a95e602435827e302033 (diff)
downloadman-pages-63aa9df02fee88a559822c460ab5a30f1d8414ee.tar.gz
Automated unformatting of parentheses using unformat_parens.sh
Diffstat (limited to 'man3/inet.3')
-rw-r--r--man3/inet.318
1 files changed, 9 insertions, 9 deletions
diff --git a/man3/inet.3 b/man3/inet.3
index 93e3ec3040..d5d2ecafd4 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -57,12 +57,12 @@ inet_netof \- Internet address manipulation routines
.BI "in_addr_t inet_netof(struct in_addr " in );
.fi
.SH DESCRIPTION
-\fBinet_aton()\fP converts the Internet host address \fIcp\fP from the
+\fBinet_aton\fP() converts the Internet host address \fIcp\fP from the
standard numbers-and-dots notation into binary data and stores it in
the structure that \fIinp\fP points to. \fBinet_aton\fP() returns
non-zero if the address is valid, zero if not.
.PP
-The \fBinet_addr()\fP function converts the Internet host address
+The \fBinet_addr\fP() function converts the Internet host address
\fIcp\fP from numbers-and-dots notation into binary data in network
byte order. If the input is invalid, INADDR_NONE (usually \-1) is returned.
This is an \fIobsolete\fP interface to \fBinet_aton\fP(), described
@@ -70,30 +70,30 @@ 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
+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.
.PP
-The \fBinet_ntoa()\fP function converts the Internet host address
+The \fBinet_ntoa\fP() function converts the Internet host address
\fIin\fP given in network byte order to a string in standard
numbers-and-dots notation. The string is returned in a statically
allocated buffer, which subsequent calls will overwrite.
.PP
-The \fBinet_makeaddr()\fP function makes an Internet host address
+The \fBinet_makeaddr\fP() function makes an Internet host address
in network byte order by combining the network number \fInet\fP
with the local address \fIhost\fP in network \fInet\fP, both in
local host byte order.
.PP
-The \fBinet_lnaof()\fP function returns the local host address part
+The \fBinet_lnaof\fP() function returns the local host address part
of the Internet address \fIin\fP. The local host address is returned
in local host byte order.
.PP
-The \fBinet_netof()\fP function returns the network number part of
+The \fBinet_netof\fP() function returns the network number part of
the Internet Address \fIin\fP. The network number is returned in
local host byte order.
.PP
-The structure \fIin_addr\fP as used in \fBinet_ntoa()\fP,
-\fBinet_makeaddr()\fP, \fBinet_lnoaf()\fP and \fBinet_netof()\fP
+The structure \fIin_addr\fP as used in \fBinet_ntoa\fP(),
+\fBinet_makeaddr\fP(), \fBinet_lnoaf\fP() and \fBinet_netof\fP()
is defined in \fInetinet/in.h\fP as:
.sp
.RS