Sort sections, sort SEE ALSO, and misc. fixes.

This commit is contained in:
wiz 2001-09-16 02:54:17 +00:00
parent a0dbe70b74
commit 97ff145f62
11 changed files with 55 additions and 56 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getaddrinfo.3,v 1.21 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: getaddrinfo.3,v 1.22 2001/09/16 02:54:17 wiz Exp $
.\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@ -552,8 +552,8 @@ values, the function still returns a pointer to a string whose contents
indicate an unknown error.
.\"
.Sh SEE ALSO
.Xr getnameinfo 3 ,
.Xr gethostbyname 3 ,
.Xr getnameinfo 3 ,
.Xr getservbyname 3 ,
.Xr hosts 5 ,
.Xr resolv.conf 5 ,
@ -585,9 +585,6 @@ indicate an unknown error.
.%D June 2000
.Re
.\"
.Sh HISTORY
The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
.\"
.Sh STANDARDS
The
.Fn getaddrinfo
@ -596,6 +593,9 @@ and documented in
.Dq Basic Socket Interface Extensions for IPv6
.Pq RFC2553 .
.\"
.Sh HISTORY
The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
.\"
.Sh BUGS
The current implementation is not thread-safe.
.Pp

View File

@ -1,4 +1,4 @@
.\" $NetBSD: gethostbyname.3,v 1.19 2001/04/26 12:55:32 kleink Exp $
.\" $NetBSD: gethostbyname.3,v 1.20 2001/09/16 02:54:17 wiz Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -246,7 +246,7 @@ for example, a mail-forwarder may be registered for this domain.
.Xr nsswitch.conf 5 ,
.Xr hostname 7 ,
.Xr named 8
.Sh CAVEAT
.Sh CAVEATS
If the search routines specified in
.Xr nsswitch.conf 5
decide to read the

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getifaddrs.3,v 1.5 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: getifaddrs.3,v 1.6 2001/09/16 02:54:17 wiz Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
@ -140,16 +140,6 @@ for any of the errors specified for the library routines
.Xr malloc 3
or
.Xr sysctl 3 .
.Sh BUGS
If both
.Aq Pa net/if.h
and
.Aq Pa ifaddrs.h
are being included,
.Aq Pa net/if.h
.Em must
be included before
.Aq Pa ifaddrs.h .
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr socket 2 ,
@ -161,3 +151,13 @@ The
.Nm
implementation first appeared in
.Bsx .
.Sh BUGS
If both
.Aq Pa net/if.h
and
.Aq Pa ifaddrs.h
are being included,
.Aq Pa net/if.h
.Em must
be included before
.Aq Pa ifaddrs.h .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getnameinfo.3,v 1.14 2001/08/05 18:09:03 itojun Exp $
.\" $NetBSD: getnameinfo.3,v 1.15 2001/09/16 02:54:17 wiz Exp $
.\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@ -287,9 +287,6 @@ The error code can be found in errno.
.%D June 2000
.Re
.\"
.Sh HISTORY
The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
.\"
.Sh STANDARDS
The
.Fn getnameinfo
@ -298,6 +295,9 @@ and documented in
.Dq Basic Socket Interface Extensions for IPv6
.Pq RFC2553 .
.\"
.Sh HISTORY
The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
.\"
.Sh BUGS
The current implementation is not thread-safe.
.Pp

View File

@ -1,4 +1,4 @@
.\" $NetBSD: inet6_option_space.3,v 1.4 2000/05/17 14:36:41 itojun Exp $
.\" $NetBSD: inet6_option_space.3,v 1.5 2001/09/16 02:54:17 wiz Exp $
.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@ -54,7 +54,7 @@
.Ft "int"
.Fn inet6_option_append "struct cmsghdr *cmsg" "const u_int8_t *typep" "int multx" "int plusy"
.Ft "u_int8_t *"
.Fn inet6_option_alloc "struct cmsghdr *cmsg" "int datalen" "int multx" "int plusy";
.Fn inet6_option_alloc "struct cmsghdr *cmsg" "int datalen" "int multx" "int plusy"
.Ft "int"
.Fn inet6_option_next "const struct cmsghdr *cmsg" "u_int8_t **tptrp"
.Ft "int"
@ -393,6 +393,9 @@ and
is not
.Dv NULL .
.\"
.Sh EXAMPLES
RFC2292 gives comprehensive examples in chapter 6.
.\"
.Sh DIAGNOSTICS
.Fn inet6_option_init
and
@ -420,9 +423,6 @@ to non
.Dv NULL
value.
.\"
.Sh EXAMPLES
RFC2292 gives comprehensive examples in chapter 6.
.\"
.Sh SEE ALSO
.Rs
.%A W. Stevens
@ -439,14 +439,14 @@ RFC2292 gives comprehensive examples in chapter 6.
.%D December 1998
.Re
.\"
.Sh HISTORY
The implementation first appeared in KAME advanced networking kit.
.\"
.Sh STANDARDS
The functions
are documented in
.Dq Advanced Sockets API for IPv6
.Pq RFC2292 .
.\"
.Sh HISTORY
The implementation first appeared in KAME advanced networking kit.
.\"
.Sh BUGS
The text was shamelessly copied from RFC2292.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: inet6_rthdr_space.3,v 1.4 2000/05/17 14:31:06 itojun Exp $
.\" $NetBSD: inet6_rthdr_space.3,v 1.5 2001/09/16 02:54:17 wiz Exp $
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@ -268,6 +268,9 @@ Upon an error the return value of the function is -1.
Note: Addresses are indexed starting at 1, and flags starting at 0,
to maintain consistency with the terminology and figures in RFC2460.
.\"
.Sh EXAMPLES
RFC2292 gives comprehensive examples in chapter 8.
.\"
.Sh DIAGNOSTICS
.Fn inet6_rthdr_space
returns 0 on errors.
@ -290,9 +293,6 @@ and
.Fn inet6_rthdr_getflags
return -1 on error.
.\"
.Sh EXAMPLES
RFC2292 gives comprehensive examples in chapter 8.
.\"
.Sh SEE ALSO
.Rs
.%A W. Stevens
@ -309,15 +309,15 @@ RFC2292 gives comprehensive examples in chapter 8.
.%D December 1998
.Re
.\"
.Sh HISTORY
The implementation first appeared in KAME advanced networking kit.
.\"
.Sh STANDARDS
The functions
are documented in
.Dq Advanced Sockets API for IPv6
.Pq RFC2292 .
.\"
.Sh HISTORY
The implementation first appeared in KAME advanced networking kit.
.\"
.Sh BUGS
The text was shamelessly copied from RFC2292.
.Pp

View File

@ -1,4 +1,4 @@
.\" $NetBSD: inet_net.3,v 1.5 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: inet_net.3,v 1.6 2001/09/16 02:54:17 wiz Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -87,7 +87,6 @@ is: AF_INET.
.Fa size
is the size of the result buffer
.Fa dst .
.Pp
.Sh NETWORK NUMBERS (IP VERSION 4)
Internet network numbers may be specified in one of the following forms:
.Bd -literal -offset indent

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ns.3,v 1.10 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: ns.3,v 1.11 2001/09/16 02:54:17 wiz Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -115,9 +115,9 @@ Otherwise, it is converted as a decimal number.
None. (See
.Sx BUGS . )
.Sh SEE ALSO
.Xr ns 4 ,
.Xr hosts 5 ,
.Xr networks 5 ,
.Xr ns 4
.Xr networks 5
.Sh HISTORY
The
.Fn ns_addr

View File

@ -1,4 +1,4 @@
.\" $NetBSD: nsdispatch.3,v 1.9 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: nsdispatch.3,v 1.10 2001/09/16 02:54:17 wiz Exp $
.\"
.\" Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -172,7 +172,6 @@ Whilst there is support for arbitrary sources, the following
Refer to
.Xr nsswitch.conf 5
for a complete description of what each source type is.
.Pp
.Ss Callback return values
The callback functions should return one of the following values
depending upon status of the lookup:

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rcmd.3,v 1.20 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: rcmd.3,v 1.21 2001/09/16 02:54:17 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -254,6 +254,14 @@ to avoid dependency between
.Aq Li unistd.h
and
.Aq Li sys/socket.h .
.Sh ENVIRONMENT
.Bl -tag -width RCMD_CMDxx -compact
.It Ev RCMD_CMD
When using the
.Fn rcmd
function, this variable is used as the program to run instead of
.Xr rcmd 1 .
.El
.Sh DIAGNOSTICS
The
.Fn rcmd
@ -273,14 +281,6 @@ set according to the reason for failure.
The error code
.Dv EAGAIN
is overloaded to mean ``All network ports in use.''
.Sh ENVIRONMENT
.Bl -tag -width RCMD_CMDxx -compact
.It Ev RCMD_CMD
When using the
.Fn rcmd
function, this variable is used as the program to run instead of
.Xr rcmd 1 .
.El
.Sh SEE ALSO
.Xr rcmd 1 ,
.Xr rlogin 1 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: resolver.3,v 1.14 2001/09/16 02:23:09 wiz Exp $
.\" $NetBSD: resolver.3,v 1.15 2001/09/16 02:54:17 wiz Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -310,7 +310,8 @@ as the name is compressed.
If
.Em dnptr
is
.Dv NULL, names are not compressed.
.Dv NULL ,
names are not compressed.
If
.Fa lastdnptr
is
@ -340,9 +341,9 @@ see
.El
.Sh SEE ALSO
.Xr gethostbyname 3 ,
.Xr named 8 ,
.Xr resolv.conf 5 ,
.Xr hostname 7 ,
.Xr named 8
.Pp
.%T RFC974 ,
.%T RFC1032 ,