diff options
author | ru <ru@FreeBSD.org> | 2003-09-08 19:57:22 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-09-08 19:57:22 +0000 |
commit | 1c23ef339bcd24785a7edbf6087f4e9c1054a22e (patch) | |
tree | f208c0020248a2800766b91d7bf24e0234629b8b /lib/libc/net | |
parent | ecf79cde9e1b8a35a0190579797cc483bcd50714 (diff) | |
download | FreeBSD-src-1c23ef339bcd24785a7edbf6087f4e9c1054a22e.zip FreeBSD-src-1c23ef339bcd24785a7edbf6087f4e9c1054a22e.tar.gz |
mdoc(7): Use the new feature of the .In macro.
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/addr2ascii.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/ethers.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/getaddrinfo.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/getifaddrs.3 | 14 | ||||
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/if_indextoname.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/resolver.3 | 2 |
7 files changed, 18 insertions, 18 deletions
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3 index 31e9f3f..fc9373d 100644 --- a/lib/libc/net/addr2ascii.3 +++ b/lib/libc/net/addr2ascii.3 @@ -106,15 +106,15 @@ addresses in the specified family: .It Dv AF_INET .Li struct in_addr (in -.Aq Pa netinet/in.h ) +.In netinet/in.h ) .It Dv AF_LINK .Li struct sockaddr_dl (in -.Aq Pa net/if_dl.h ) +.In net/if_dl.h ) .\" .It Dv AF_INET6 .\" .Li struct in6_addr .\" (in -.\" .Aq Pa netinet6/in6.h ) +.\" .In netinet6/in6.h ) .El .Sh RETURN VALUES The diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 813fd74..4f774e5 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -61,7 +61,7 @@ These functions operate on ethernet addresses using an .Vt ether_addr structure, which is defined in the header file -.Aq Pa netinet/if_ether.h : +.In netinet/if_ether.h : .Bd -literal -offset indent /* * The number of bytes in an ethernet (MAC) address. diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index f8c8f57..b40f29a 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -71,7 +71,7 @@ but in a more sophisticated manner. The .Li addrinfo structure is defined as a result of including the -.Aq Pa netdb.h +.In netdb.h header: .Bd -literal -offset struct addrinfo { @@ -516,7 +516,7 @@ Error return status from .Fn getaddrinfo is zero on success and non-zero on errors. Non-zero error codes are defined in -.Aq Pa netdb.h , +.In netdb.h , and as follows: .Pp .Bl -tag -width EAI_ADDRFAMILY -compact diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3 index 92d3547..3d7ea42 100644 --- a/lib/libc/net/getifaddrs.3 +++ b/lib/libc/net/getifaddrs.3 @@ -45,7 +45,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: @@ -115,12 +115,12 @@ field references address family specific data. For addresses it contains a pointer to the .Fa 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, it contains a pointer to the .Fa struct ifa_data (as defined in include file -.Aq Pa net/if.h ) +.In net/if.h ) which contains per-address interface statistics. .Pp The data returned by @@ -143,14 +143,14 @@ or .Xr sysctl 3 . .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 . .Sh SEE ALSO .Xr ioctl 2 , .Xr socket 2 , diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index f0496e7..3267f43 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -111,7 +111,7 @@ Unfortunately most systems do not provide constants that specify the maximum size of either a fully-qualified domain name or a service name. Therefore to aid the application in allocating buffers for these two returned strings the following constants are defined in -.Aq Pa netdb.h : +.In netdb.h : .Bd -literal -offset #define NI_MAXHOST 1025 #define NI_MAXSERV 32 @@ -120,7 +120,7 @@ returned strings the following constants are defined in The first value is actually defined as the constant .Dv MAXDNAME in recent versions of BIND's -.Aq Pa arpa/nameser.h +.In arpa/nameser.h header (older versions of BIND define this constant to be 256) and the second is a guess based on the services listed in the current @@ -176,7 +176,7 @@ that have different services for UDP and TCP. These .Dv NI_xxx flags are defined in -.Aq Pa netdb.h . +.In netdb.h . .\" .Sh EXTENSION The implementation allows experimental numeric IPv6 address notation with diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3 index 7c7737e..b1d1688 100644 --- a/lib/libc/net/if_indextoname.3 +++ b/lib/libc/net/if_indextoname.3 @@ -73,7 +73,7 @@ function returns an array of .Vt if_nameindex structures, one structure per interface, as defined in the include file -.Aq Pa net/if.h . +.In net/if.h . The .Vt if_nameindex structure contains at least the following entries: diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index 2a89500..4b98ef2 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -289,7 +289,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 . The |