diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-01-21 03:15:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-01-21 03:15:47 +0000 |
commit | 6a8d0cb8380ab8e65766f56340c8dac41d6a5705 (patch) | |
tree | d083dd11635c7a5bd971dbb4b0d5b6eff9b4a296 /lib/libc/net | |
parent | f923664fa40842bde91793690e58d886dad875d2 (diff) |
obvious .Pa fixes; found with mandocdb(8)
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/gai_strerror.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/getaddrinfo.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/getifaddrs.3 | 16 | ||||
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/if_indextoname.3 | 8 | ||||
-rw-r--r-- | lib/libc/net/inet6_opt_init.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/inet6_option_space.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/inet6_rth_space.3 | 8 | ||||
-rw-r--r-- | lib/libc/net/inet6_rthdr_space.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/rcmd.3 | 8 | ||||
-rw-r--r-- | lib/libc/net/resolver.3 | 10 |
11 files changed, 43 insertions, 43 deletions
diff --git a/lib/libc/net/gai_strerror.3 b/lib/libc/net/gai_strerror.3 index 680c8d4e4a6..e0373eb91e1 100644 --- a/lib/libc/net/gai_strerror.3 +++ b/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/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index cea57624ef4..db4417ab358 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/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/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3 index c1ab2e7679d..c5aab48b209 100644 --- a/lib/libc/net/getifaddrs.3 +++ b/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/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index 644da7962e6..d023b2523d4 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/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/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index 7ca28c6b92a..5e6e7f2fdbc 100644 --- a/lib/libc/net/if_indextoname.3 +++ b/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/lib/libc/net/inet6_opt_init.3 b/lib/libc/net/inet6_opt_init.3 index 973f1e27fbb..dd7ab53f6f5 100644 --- a/lib/libc/net/inet6_opt_init.3 +++ b/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/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3 index 6c282a6f818..4b156636f78 100644 --- a/lib/libc/net/inet6_option_space.3 +++ b/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/lib/libc/net/inet6_rth_space.3 b/lib/libc/net/inet6_rth_space.3 index 6b09e6fa886..fcd023481fb 100644 --- a/lib/libc/net/inet6_rth_space.3 +++ b/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/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3 index 65afc5a734b..c72e84ff1a2 100644 --- a/lib/libc/net/inet6_rthdr_space.3 +++ b/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/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3 index 77659c28b73..447aa23ff16 100644 --- a/lib/libc/net/rcmd.3 +++ b/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/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index fb67c83b053..93b365a619f 100644 --- a/lib/libc/net/resolver.3 +++ b/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 |