summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-15 07:53:42 +0000
committerdd <dd@FreeBSD.org>2001-07-15 07:53:42 +0000
commita145482cf625d5f04072fd1d20b5c2062cbe8e47 (patch)
treed6c008b8ae357e7c4c800baa477713b82a6ee2f2 /lib/libc/net
parent0d7bb1fec635c87e914e57048716adc5a87cfe22 (diff)
downloadFreeBSD-src-a145482cf625d5f04072fd1d20b5c2062cbe8e47.zip
FreeBSD-src-a145482cf625d5f04072fd1d20b5c2062cbe8e47.tar.gz
Remove whitespace at EOL.
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/addr2ascii.34
-rw-r--r--lib/libc/net/byteorder.32
-rw-r--r--lib/libc/net/ethers.34
-rw-r--r--lib/libc/net/gethostbyname.310
-rw-r--r--lib/libc/net/getnetent.310
-rw-r--r--lib/libc/net/getprotoent.34
-rw-r--r--lib/libc/net/getservent.38
-rw-r--r--lib/libc/net/inet.36
-rw-r--r--lib/libc/net/inet6_option_space.34
-rw-r--r--lib/libc/net/iso_addr.34
-rw-r--r--lib/libc/net/linkaddr.32
-rw-r--r--lib/libc/net/ns.36
-rw-r--r--lib/libc/net/nsdispatch.310
-rw-r--r--lib/libc/net/rcmd.310
-rw-r--r--lib/libc/net/resolver.34
15 files changed, 44 insertions, 44 deletions
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3
index ced7349..b9f6fa9 100644
--- a/lib/libc/net/addr2ascii.3
+++ b/lib/libc/net/addr2ascii.3
@@ -12,7 +12,7 @@
.\" no representations about the suitability of this software for any
.\" purpose. It is provided "as is" without express or implied
.\" warranty.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
.\" ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -146,7 +146,7 @@ inet_ntoa(struct in_addr addr)
int
inet_aton(const char *ascii, struct in_addr *addr)
{
- return (ascii2addr(AF_INET, ascii, addr)
+ return (ascii2addr(AF_INET, ascii, addr)
== sizeof(*addr));
}
.Ed
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3
index 0785911..cae00a7 100644
--- a/lib/libc/net/byteorder.3
+++ b/lib/libc/net/byteorder.3
@@ -70,7 +70,7 @@ and
.Sh HISTORY
The
.Nm byteorder
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Sh BUGS
On the
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index a1dc7a1..6a9ea552 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -115,7 +115,7 @@ and
functions map ethernet addresses to their corresponding hostnames
as specified in the
.Pa /etc/ethers
-database.
+database.
.Fn ether_ntohost
converts from ethernet address to hostname, and
.Fn ether_hostton
@@ -132,7 +132,7 @@ structure
and the hostname in the supplied string
.Ar h .
.Pp
-On success,
+On success,
.Fn ether_ntoa
returns a pointer to a string containing an
.Tn ASCII
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index 0c3772e..7d78f96 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -185,7 +185,7 @@ If the
flag is non-zero,
this sets the option to send all queries to the name server using
.Tn TCP
-and to retain the connection after each call to
+and to retain the connection after each call to
.Fn gethostbyname ,
.Fn gethostbyname2
or
@@ -240,7 +240,7 @@ if ((hp = gethostbyaddr((const char *)&ip,
printf("name associated with %s is %s\en", ipstr, hp->h_name);
.Ed
.Sh DIAGNOSTICS
-Error return status from
+Error return status from
.Fn gethostbyname ,
.Fn gethostbyname2
and
@@ -277,8 +277,8 @@ A retry at some later time may succeed.
Some unexpected server failure was encountered.
This is a non-recoverable error.
.It Dv NO_DATA
-The requested name is valid but does not have an IP address;
-this is not a temporary error.
+The requested name is valid but does not have an IP address;
+this is not a temporary error.
This means that the name is known to the name server but there is no address
associated with this name.
Another type of request to the name server using this domain name
@@ -335,7 +335,7 @@ closes the file.
.Sh HISTORY
The
.Fn herror
-function appeared in
+function appeared in
.Bx 4.3 .
The
.Fn endhostent ,
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 92e4970..23e90ae 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -66,14 +66,14 @@ functions
each return a pointer to an object with the
following structure describing an internet network.
This structure contains either the information obtained
-from the nameserver,
+from the nameserver,
.Xr named 8 ,
broken-out fields of a line in the network data base
.Pa /etc/networks ,
or entries supplied by the
-.Xr yp 4
+.Xr yp 4
system. The order of the lookups is controlled by the
-`networks' entry in
+`networks' entry in
.Xr nsswitch.conf 5 .
.Pp
.Bd -literal -offset indent
@@ -109,7 +109,7 @@ function
opens and rewinds the file. If the
.Fa stayopen
flag is non-zero,
-the net data base will not be closed after each call to
+the net data base will not be closed after each call to
.Fn getnetbyname
or
.Fn getnetbyaddr .
@@ -159,7 +159,7 @@ The
.Fn setnetent ,
and
.Fn endnetent
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Sh BUGS
The data space used by
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index a24d995..d073ac0 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -98,7 +98,7 @@ function
opens and rewinds the file. If the
.Fa stayopen
flag is non-zero,
-the net data base will not be closed after each call to
+the net data base will not be closed after each call to
.Fn getprotobyname
or
.Fn getprotobynumber .
@@ -139,7 +139,7 @@ The
.Fn setprotoent ,
and
.Fn endprotoent
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Sh BUGS
These functions use a static data space;
diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3
index e1569d45..5a0258e 100644
--- a/lib/libc/net/getservent.3
+++ b/lib/libc/net/getservent.3
@@ -47,7 +47,7 @@
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Ft struct servent *
-.Fn getservent
+.Fn getservent
.Ft struct servent *
.Fn getservbyname "const char *name" "const char *proto"
.Ft struct servent *
@@ -102,7 +102,7 @@ function
opens and rewinds the file. If the
.Fa stayopen
flag is non-zero,
-the net data base will not be closed after each call to
+the net data base will not be closed after each call to
.Fn getservbyname
or
.Fn getservbyport .
@@ -126,7 +126,7 @@ or until
.Dv EOF
is encountered.
If a protocol name is also supplied (non-
-.Dv NULL ) ,
+.Dv NULL ) ,
searches must also match the protocol.
.Sh FILES
.Bl -tag -width /etc/services -compact
@@ -148,7 +148,7 @@ The
.Fn setservent ,
and
.Fn endservent
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Sh BUGS
These functions use static data storage;
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index 99e7791..f9ce2c6 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -53,7 +53,7 @@
.Fd #include <sys/socket.h>
.Fd #include <netinet/in.h>
.Fd #include <arpa/inet.h>
-.Ft int
+.Ft int
.Fn inet_aton "const char *cp" "struct in_addr *pin"
.Ft in_addr_t
.Fn inet_addr "const char *cp"
@@ -65,7 +65,7 @@
.Fn inet_ntop "int af" "const void *src" "char *dst" "size_t size"
.Ft int
.Fn inet_pton "int af" "const char *src" "void *dst"
-.Ft struct in_addr
+.Ft struct in_addr
.Fn inet_makeaddr "in_addr_t net" "in_addr_t lna"
.Ft in_addr_t
.Fn inet_lnaof "struct in_addr in"
@@ -248,7 +248,7 @@ This is a narrower input set than that accepted by
.Fn inet_aton .
.Sh HISTORY
These
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Sh BUGS
The value
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index 8236548..c2338fc 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -323,7 +323,7 @@ called for a given ancillary data object,
.Fa *tptrp
must be set to
.Dv NULL .
-.Pp
+.Pp
Each time this function returns success,
.Fa *tptrp
points to the 8-bit
@@ -409,7 +409,7 @@ return
.Li -1
setting
.Fa *tptrp
-to non
+to non
.Dv NULL
value.
.\"
diff --git a/lib/libc/net/iso_addr.3 b/lib/libc/net/iso_addr.3
index 5f825c0..4bc3ed1 100644
--- a/lib/libc/net/iso_addr.3
+++ b/lib/libc/net/iso_addr.3
@@ -63,7 +63,7 @@ addresses and returns
.Tn ASCII
strings representing NSAPs (network service
access points) in a
-notation inverse to that accepted by
+notation inverse to that accepted by
.Fn iso_addr .
.Pp
Unfortunately, no universal standard exists for representing
@@ -101,7 +101,7 @@ The
.Fn iso_addr
and
.Fn iso_ntoa
-functions appeared in
+functions appeared in
.Bx 4.3 Reno .
.Sh BUGS
The returned values
diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3
index 23932cb..7631c4a 100644
--- a/lib/libc/net/linkaddr.3
+++ b/lib/libc/net/linkaddr.3
@@ -116,7 +116,7 @@ The
.Fn link_addr
and
.Fn link_ntoa
-functions appeared in
+functions appeared in
.Bx 4.3 Reno .
.Sh BUGS
The returned values for link_ntoa
diff --git a/lib/libc/net/ns.3 b/lib/libc/net/ns.3
index 4d545e3..e8cc2ec 100644
--- a/lib/libc/net/ns.3
+++ b/lib/libc/net/ns.3
@@ -46,7 +46,7 @@ address conversion routines
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netns/ns.h>
-.Ft struct ns_addr
+.Ft struct ns_addr
.Fn ns_addr "char *cp"
.Ft char *
.Fn ns_ntoa "struct ns_addr ns"
@@ -70,7 +70,7 @@ notation in common use in the Xerox Development Environment:
.Ed
.Pp
Trailing zero fields are suppressed, and each number is printed in hexadecimal,
-in a format suitable for input to
+in a format suitable for input to
.Fn ns_addr .
Any fields lacking super-decimal digits will have a
trailing
@@ -121,7 +121,7 @@ The
.Fn ns_addr
and
.Fn ns_toa
-functions appeared in
+functions appeared in
.Bx 4.3 .
.Sh BUGS
The string returned by
diff --git a/lib/libc/net/nsdispatch.3 b/lib/libc/net/nsdispatch.3
index 7ed6345..8d7a686 100644
--- a/lib/libc/net/nsdispatch.3
+++ b/lib/libc/net/nsdispatch.3
@@ -57,7 +57,7 @@
.Sh DESCRIPTION
The
.Fn nsdispatch
-function invokes the callback functions specified in
+function invokes the callback functions specified in
.Va dtab
in the order given in
.Pa /etc/nsswitch.conf
@@ -95,7 +95,7 @@ The last entry in
should contain
.Dv NULL
values for
-.Va src ,
+.Va src ,
.Va cb ,
and
.Va cb_data .
@@ -132,7 +132,7 @@ For each default source type, an entry with
set to the name of the source, and
.Va flags
set to the relevant flags
-(usually
+(usually
.Dv NS_SUCCESS ;
refer to
.Sx Callback return values
@@ -203,9 +203,9 @@ The
routines first appeared in
.Fx 4.1 .
They were imported from the
-.Nx
+.Nx
Project,
-where they appeared first in
+where they appeared first in
.Nx 1.4 .
.Sh AUTHORS
Luke Mewburn
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index abc6017..08b6e72 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -104,7 +104,7 @@ If the connection succeeds,
a socket in the Internet domain of type
.Dv SOCK_STREAM
is returned to the caller, and given to the remote
-command as
+command as
.Em stdin
and
.Em stdout .
@@ -122,10 +122,10 @@ signal numbers, to be
forwarded to the process group of the command.
If
.Fa fd2p
-is 0, then the
+is 0, then the
.Em stderr
(unit 2 of the remote
-command) will be made the same as the
+command) will be made the same as the
.Em stdout
and no
provision is made for sending arbitrary signals to the remote process,
@@ -138,7 +138,7 @@ The
.Fn rresvport
function is used to obtain a socket to which an address with a Privileged
Internet port is bound.
-This socket is suitable for use by
+This socket is suitable for use by
.Fn rcmd
and several other functions.
Privileged Internet ports are those in the range 0 to 1023.
@@ -284,7 +284,7 @@ is overloaded to mean ``All network ports in use.''
.Re
.Sh HISTORY
Most of these
-functions appeared in
+functions appeared in
.Bx 4.2 .
.Fn rresvport_af
appeared in RFC2292, and was implemented by the WIDE project
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 4870992..2771e9b 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -92,7 +92,7 @@
.Fa "int anslen"
.Fc
.Ft int
-.Fn res_init
+.Fn res_init
.Ft int
.Fo dn_comp
.Fa "const char *exp_dn"
@@ -418,5 +418,5 @@ see
.Sh HISTORY
The
.Nm
-function appeared in
+function appeared in
.Bx 4.3 .
OpenPOWER on IntegriCloud