From 1ae249b7d3055912e0dc1f33ec8bbac5380a16e3 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 21 Jan 2014 03:15:45 +0000 Subject: obvious .Pa fixes; found with mandocdb(8) --- src/lib/libc/net/gai_strerror.3 | 6 +++--- src/lib/libc/net/getaddrinfo.3 | 6 +++--- src/lib/libc/net/getifaddrs.3 | 16 ++++++++-------- src/lib/libc/net/getnameinfo.3 | 6 +++--- src/lib/libc/net/if_indextoname.3 | 8 ++++---- src/lib/libc/net/inet6_opt_init.3 | 6 +++--- src/lib/libc/net/inet6_option_space.3 | 6 +++--- src/lib/libc/net/inet6_rth_space.3 | 8 ++++---- src/lib/libc/net/inet6_rthdr_space.3 | 6 +++--- src/lib/libc/net/rcmd.3 | 8 ++++---- src/lib/libc/net/resolver.3 | 10 +++++----- src/lib/libc/stdlib/getopt.3 | 6 +++--- src/lib/libc/stdlib/rand.3 | 6 +++--- 13 files changed, 49 insertions(+), 49 deletions(-) (limited to 'src') diff --git a/src/lib/libc/net/gai_strerror.3 b/src/lib/libc/net/gai_strerror.3 index 680c8d4e4a..e0373eb91e 100644 --- a/src/lib/libc/net/gai_strerror.3 +++ b/src/lib/libc/net/gai_strerror.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gai_strerror.3,v 1.8 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: gai_strerror.3,v 1.9 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 itojun Exp $ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") @@ -16,7 +16,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GAI_STRERROR 3 .Os .Sh NAME @@ -38,7 +38,7 @@ or .Xr getnameinfo 3 . .Pp The following error codes and their meaning are defined in -.Aq Pa netdb.h : +.In netdb.h : .Pp .Bl -tag -width "EAI_ADDRFAMILYXX" -offset indent -compact .It Dv EAI_ADDRFAMILY diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3 index cea57624ef..db4417ab35 100644 --- a/src/lib/libc/net/getaddrinfo.3 +++ b/src/lib/libc/net/getaddrinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getaddrinfo.3,v 1.53 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: getaddrinfo.3,v 1.54 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") @@ -16,7 +16,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETADDRINFO 3 .Os .Sh NAME @@ -70,7 +70,7 @@ must be non-null. is an optional pointer to a .Li struct addrinfo , as defined by -.Aq Pa netdb.h : +.In netdb.h : .Bd -literal struct addrinfo { int ai_flags; /* input flags */ diff --git a/src/lib/libc/net/getifaddrs.3 b/src/lib/libc/net/getifaddrs.3 index c1ab2e7679..c5aab48b20 100644 --- a/src/lib/libc/net/getifaddrs.3 +++ b/src/lib/libc/net/getifaddrs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getifaddrs.3,v 1.17 2013/08/14 12:38:15 jmc Exp $ +.\" $OpenBSD: getifaddrs.3,v 1.18 2014/01/21 03:15:45 schwarze Exp $ .\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp .\" .\" Copyright (c) 1995, 1999 @@ -21,7 +21,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETIFADDRS 3 .Os .Sh NAME @@ -44,7 +44,7 @@ on the local machine in the memory referenced by The list consists of .Nm ifaddrs structures, as defined in the include file -.Aq Pa ifaddrs.h . +.In ifaddrs.h . The .Nm ifaddrs structure contains at least the following entries: @@ -103,7 +103,7 @@ For addresses it contains a pointer to the .Li struct if_data (as defined in include file -.Aq Pa net/if.h ) +.In net/if.h ) which contains various interface attributes and statistics. For all other address families, .Fa ifa_data @@ -149,11 +149,11 @@ since .Ox 2.7 . .Sh BUGS If both -.Aq Pa net/if.h +.In net/if.h and -.Aq Pa ifaddrs.h +.In ifaddrs.h are being included, -.Aq Pa net/if.h +.In net/if.h .Em must be included before -.Aq Pa ifaddrs.h . +.In ifaddrs.h . diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3 index 644da7962e..d023b2523d 100644 --- a/src/lib/libc/net/getnameinfo.3 +++ b/src/lib/libc/net/getnameinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnameinfo.3,v 1.45 2013/07/10 07:07:12 jmc Exp $ +.\" $OpenBSD: getnameinfo.3,v 1.46 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") @@ -16,7 +16,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 10 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETNAMEINFO 3 .Os .Sh NAME @@ -75,7 +75,7 @@ the maximum value for is .Dv NI_MAXSERV , as defined by -.Aq Pa netdb.h . +.In netdb.h . If a length parameter is zero, no string will be stored. Otherwise, enough space must be provided to store the host name or service string plus a byte for the NUL terminator. diff --git a/src/lib/libc/net/if_indextoname.3 b/src/lib/libc/net/if_indextoname.3 index 7ca28c6b92..5e6e7f2fdb 100644 --- a/src/lib/libc/net/if_indextoname.3 +++ b/src/lib/libc/net/if_indextoname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: if_indextoname.3,v 1.14 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: if_indextoname.3,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" From: @(#)rcmd.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt IF_NAMETOINDEX 3 .Os .Sh NAME @@ -73,7 +73,7 @@ bytes into which the interface name corresponding to the specified index is returned. .Pf ( Dv IF_NAMESIZE is also defined in -.Aq Pa net/if.h +.In net/if.h and its value includes a terminating NUL byte at the end of the interface name.) This pointer is also the return value of the function. @@ -87,7 +87,7 @@ returns an array of structures. .Vt if_nameindex is also defined in -.Aq Pa net/if.h , +.In net/if.h , and is as follows: .Bd -literal -offset indent struct if_nameindex { diff --git a/src/lib/libc/net/inet6_opt_init.3 b/src/lib/libc/net/inet6_opt_init.3 index 973f1e27fb..dd7ab53f6f 100644 --- a/src/lib/libc/net/inet6_opt_init.3 +++ b/src/lib/libc/net/inet6_opt_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_opt_init.3,v 1.5 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_opt_init.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_OPT_INIT 3 .Os .\" @@ -70,7 +70,7 @@ formatting rules specified in Appendix B in RFC 2460, i.e. that the largest field is placed last in the option. The function prototypes for these functions are all contained in the header file -.Aq Pa netinet/in.h . +.In netinet/in.h . .\" .Ss inet6_opt_init The diff --git a/src/lib/libc/net/inet6_option_space.3 b/src/lib/libc/net/inet6_option_space.3 index 6c282a6f81..4b156636f7 100644 --- a/src/lib/libc/net/inet6_option_space.3 +++ b/src/lib/libc/net/inet6_option_space.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_option_space.3,v 1.23 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_option_space.3,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_option_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_OPTION_SPACE 3 .Os .\" @@ -74,7 +74,7 @@ part of the Kame libraries, to help developers create, change, and parse Hop-by-Hop and Destination options. All of the prototypes for the option functions are defined in the -.Aq Pa netinet/in.h +.In netinet/in.h header file. .\" .Ss inet6_option_space diff --git a/src/lib/libc/net/inet6_rth_space.3 b/src/lib/libc/net/inet6_rth_space.3 index 6b09e6fa88..fcd023481f 100644 --- a/src/lib/libc/net/inet6_rth_space.3 +++ b/src/lib/libc/net/inet6_rth_space.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_rth_space.3,v 1.5 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_rth_space.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_RTH_SPACE 3 .Os .\" @@ -64,10 +64,10 @@ The RFC uses the word .Dq segments to describe addresses and that is the term used here as well. All of the functions are defined in the header file -.Aq Pa netinet/in.h . +.In netinet/in.h . The functions described in this manual page all operate on routing header structures which are defined in -.Aq Pa netinet/ip6.h +.In netinet/ip6.h but which should not need to be modified outside the use of this API. The size and shape of the route header structures may change, so using the APIs is a more portable, long term, solution. diff --git a/src/lib/libc/net/inet6_rthdr_space.3 b/src/lib/libc/net/inet6_rthdr_space.3 index 65afc5a734..c72e84ff1a 100644 --- a/src/lib/libc/net/inet6_rthdr_space.3 +++ b/src/lib/libc/net/inet6_rthdr_space.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_rthdr_space.3,v 1.22 2012/09/27 11:31:58 jmc Exp $ +.\" $OpenBSD: inet6_rthdr_space.3,v 1.23 2014/01/21 03:15:45 schwarze Exp $ .\" $KAME: inet6_rthdr_space.3,v 1.11 2005/01/05 03:00:44 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 27 2012 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INET6_RTHDR_SPACE 3 .Os .\" @@ -76,7 +76,7 @@ The eight functions are split into two groups, the first of which builds the header and the second of which can parse it. The function prototypes for these functions are all in the -.Aq Pa netinet/in.h +.In netinet/in.h header. Although direct manipulation of a routing header is possible, this set of APIs make it unnecessary and such direct manipulation diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index 77659c28b7..447aa23ff1 100644 --- a/src/lib/libc/net/rcmd.3 +++ b/src/lib/libc/net/rcmd.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcmd.3,v 1.28 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: rcmd.3,v 1.29 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RCMD 3 .Os .Sh NAME @@ -232,9 +232,9 @@ The first argument of is typed as .Li "void *" to avoid dependency between -.Aq Pa unistd.h +.In unistd.h and -.Aq Pa sys/socket.h . +.In sys/socket.h . .Sh DIAGNOSTICS The .Fn rcmd diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index fb67c83b05..93b365a619 100644 --- a/src/lib/libc/net/resolver.3 +++ b/src/lib/libc/net/resolver.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolver.3,v 1.28 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: resolver.3,v 1.29 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RESOLVER 3 .Os .Sh NAME @@ -108,7 +108,7 @@ Most of the values have reasonable defaults and can be ignored. Options stored in .Li _res.options are defined in -.Aq Pa resolv.h +.In resolv.h and are as follows. Options are stored as a simple bit mask containing the bitwise OR of the options enabled. @@ -253,7 +253,7 @@ and .Fa type fields are defined in -.Aq Pa arpa/nameser.h . +.In arpa/nameser.h . .Pp The .Fn res_search @@ -279,7 +279,7 @@ The query type is usually .Dv QUERY , but can be any of the query types defined in -.Aq Pa arpa/nameser.h . +.In arpa/nameser.h . The domain name for the query is given by .Fa dname . .Fa newrr diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 9e37f52c10..6661e03841 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 @@ -25,9 +25,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getopt.3,v 1.43 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: getopt.3,v 1.44 2014/01/21 03:15:45 schwarze Exp $ .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETOPT 3 .Os .Sh NAME @@ -321,7 +321,7 @@ This was changed by to decouple .Fn getopt from -.Aq Pa stdio.h . +.In stdio.h . .Pp It is possible to handle digits as option letters. This allows diff --git a/src/lib/libc/stdlib/rand.3 b/src/lib/libc/stdlib/rand.3 index 2de043a88d..a9fc343b66 100644 --- a/src/lib/libc/stdlib/rand.3 +++ b/src/lib/libc/stdlib/rand.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: rand.3,v 1.13 2013/07/18 10:14:50 schwarze Exp $ +.\" $OpenBSD: rand.3,v 1.14 2014/01/21 03:15:45 schwarze Exp $ .\" -.Dd $Mdocdate: July 18 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RAND 3 .Os .Sh NAME @@ -58,7 +58,7 @@ function computes a sequence of pseudo-random integers in the range of 0 to .Dv RAND_MAX (as defined by the header file -.Aq Pa stdlib.h ) . +.In stdlib.h ) . .Pp The .Fn srand -- cgit v1.2.3-55-g6feb