aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-10-01 16:09:29 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-10-01 16:09:29 +0000
commit32eef9aeb1f39a1623cea55da147c89abbd5b9a5 (patch)
tree0ba5da0413d7f6bd39551fb636861f2919892751 /lib/libc/net
parentf2ac7de925431ada9eb55447031e673f8c4e6257 (diff)
downloadsrc-32eef9aeb1f39a1623cea55da147c89abbd5b9a5.tar.gz
src-32eef9aeb1f39a1623cea55da147c89abbd5b9a5.zip
mdoc(7) police: Use the new .In macro for #include statements.
Notes
Notes: svn path=/head/; revision=84306
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/addr2ascii.36
-rw-r--r--lib/libc/net/byteorder.32
-rw-r--r--lib/libc/net/ethers.36
-rw-r--r--lib/libc/net/getaddrinfo.36
-rw-r--r--lib/libc/net/gethostbyname.32
-rw-r--r--lib/libc/net/getifaddrs.36
-rw-r--r--lib/libc/net/getipnodebyname.36
-rw-r--r--lib/libc/net/getnameinfo.36
-rw-r--r--lib/libc/net/getnetent.32
-rw-r--r--lib/libc/net/getprotoent.32
-rw-r--r--lib/libc/net/getservent.32
-rw-r--r--lib/libc/net/hesiod.32
-rw-r--r--lib/libc/net/if_indextoname.36
-rw-r--r--lib/libc/net/inet.38
-rw-r--r--lib/libc/net/inet6_option_space.34
-rw-r--r--lib/libc/net/inet6_rthdr_space.34
-rw-r--r--lib/libc/net/iso_addr.34
-rw-r--r--lib/libc/net/linkaddr.36
-rw-r--r--lib/libc/net/ns.34
-rw-r--r--lib/libc/net/nsdispatch.32
-rw-r--r--lib/libc/net/rcmd.32
-rw-r--r--lib/libc/net/resolver.38
22 files changed, 48 insertions, 48 deletions
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3
index 4003a83cecb8..ce5d720a8777 100644
--- a/lib/libc/net/addr2ascii.3
+++ b/lib/libc/net/addr2ascii.3
@@ -39,9 +39,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
-.Fd #include <arpa/inet.h>
+.In sys/types.h
+.In netinet/in.h
+.In arpa/inet.h
.Ft "char *"
.Fn addr2ascii "int af" "const void *addrp" "int len" "char *buf"
.Ft int
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3
index 03c176b55cd1..475ace8d7421 100644
--- a/lib/libc/net/byteorder.3
+++ b/lib/libc/net/byteorder.3
@@ -44,7 +44,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <arpa/inet.h>
+.In arpa/inet.h
.Ft uint32_t
.Fn htonl "uint32_t hostlong"
.Ft uint16_t
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 6a9ea5529d55..650bda80f6e1 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -44,9 +44,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/ethernet.h>
+.In sys/types.h
+.In sys/socket.h
+.In net/ethernet.h
.Ft int
.Fn ether_line "const char *l" "struct ether_addr *e" "char *hostname"
.Ft struct ether_addr *
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index cd73f28a01ad..9c56af4db90f 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -47,9 +47,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netdb.h>
+.In sys/types.h
+.In sys/socket.h
+.In netdb.h
.Ft int
.Fn getaddrinfo "const char *nodename" "const char *servname" \
"const struct addrinfo *hints" "struct addrinfo **res"
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index b845c28183fe..82a849c680df 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -48,7 +48,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <netdb.h>
+.In netdb.h
.Vt extern int h_errno ;
.Ft struct hostent *
.Fn gethostbyname "const char *name"
diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3
index 5572ceafdb06..92d354749fe6 100644
--- a/lib/libc/net/getifaddrs.3
+++ b/lib/libc/net/getifaddrs.3
@@ -29,9 +29,9 @@
.Nm getifaddrs
.Nd get interface addresses
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <ifaddrs.h>
+.In sys/types.h
+.In sys/socket.h
+.In ifaddrs.h
.Ft int
.Fn getifaddrs "struct ifaddrs **ifap"
.Ft void
diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3
index f960957a11fc..5860fb837952 100644
--- a/lib/libc/net/getipnodebyname.3
+++ b/lib/libc/net/getipnodebyname.3
@@ -47,9 +47,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netdb.h>
+.In sys/types.h
+.In sys/socket.h
+.In netdb.h
.Ft "struct hostent *"
.Fn getipnodebyname "const char *name" "int af" "int flags" "int *error_num"
.Ft "struct hostent *"
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 8dc026c8c8cc..b34fa11174a4 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -45,9 +45,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netdb.h>
+.In sys/types.h
+.In sys/socket.h
+.In netdb.h
.Ft int
.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" \
"char *host" "size_t hostlen" "char *serv" "size_t servlen" "int flags"
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 23e90ae7e715..746867ef295f 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -45,7 +45,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <netdb.h>
+.In netdb.h
.Ft struct netent *
.Fn getnetent void
.Ft struct netent *
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index d073ac0558a7..8f48481f8004 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -45,7 +45,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <netdb.h>
+.In netdb.h
.Ft struct protoent *
.Fn getprotoent void
.Ft struct protoent *
diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3
index 5a0258ea122b..19cdfdf4e523 100644
--- a/lib/libc/net/getservent.3
+++ b/lib/libc/net/getservent.3
@@ -45,7 +45,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <netdb.h>
+.In netdb.h
.Ft struct servent *
.Fn getservent
.Ft struct servent *
diff --git a/lib/libc/net/hesiod.3 b/lib/libc/net/hesiod.3
index 4c8ffd688cf2..9b9ad1c5388d 100644
--- a/lib/libc/net/hesiod.3
+++ b/lib/libc/net/hesiod.3
@@ -31,7 +31,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd "#include <hesiod.h>"
+.In hesiod.h
.Ft int
.Fn hesiod_init "void **context"
.Ft char **
diff --git a/lib/libc/net/if_indextoname.3 b/lib/libc/net/if_indextoname.3
index 29ae464166aa..0cc039c208c8 100644
--- a/lib/libc/net/if_indextoname.3
+++ b/lib/libc/net/if_indextoname.3
@@ -44,9 +44,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/if.h>
+.In sys/types.h
+.In sys/socket.h
+.In net/if.h
.Ft "unsigned int"
.Fn if_nametoindex "const char *ifname"
.Ft "char *"
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index 76a76b815c76..2461694f84e7 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -49,10 +49,10 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
-.Fd #include <arpa/inet.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
+.In arpa/inet.h
.Ft int
.Fn inet_aton "const char *cp" "struct in_addr *pin"
.Ft in_addr_t
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index 726a41c7db40..3e1649ac5e23 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -48,8 +48,8 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In netinet/in.h
.Ft "int"
.Fn inet6_option_space "int nbytes"
.Ft "int"
diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3
index d09bba6b35da..154f514b6953 100644
--- a/lib/libc/net/inet6_rthdr_space.3
+++ b/lib/libc/net/inet6_rthdr_space.3
@@ -50,8 +50,8 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In netinet/in.h
.Ft size_t
.Fn inet6_rthdr_space "int type" "int segments"
.Ft "struct cmsghdr *"
diff --git a/lib/libc/net/iso_addr.3 b/lib/libc/net/iso_addr.3
index 4bc3ed1725fc..4407dca92f30 100644
--- a/lib/libc/net/iso_addr.3
+++ b/lib/libc/net/iso_addr.3
@@ -42,8 +42,8 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netiso/iso.h>
+.In sys/types.h
+.In netiso/iso.h
.Ft struct iso_addr *
.Fn iso_addr "char *cp"
.Ft char *
diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3
index 7631c4a3fa79..4b1c6e95beea 100644
--- a/lib/libc/net/linkaddr.3
+++ b/lib/libc/net/linkaddr.3
@@ -45,9 +45,9 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/if_dl.h>
+.In sys/types.h
+.In sys/socket.h
+.In net/if_dl.h
.Ft void
.Fn link_addr "const char *addr" "struct sockaddr_dl *sdl"
.Ft char *
diff --git a/lib/libc/net/ns.3 b/lib/libc/net/ns.3
index e8cc2ec209d0..f750bdd63645 100644
--- a/lib/libc/net/ns.3
+++ b/lib/libc/net/ns.3
@@ -44,8 +44,8 @@ address conversion routines
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netns/ns.h>
+.In sys/types.h
+.In netns/ns.h
.Ft struct ns_addr
.Fn ns_addr "char *cp"
.Ft char *
diff --git a/lib/libc/net/nsdispatch.3 b/lib/libc/net/nsdispatch.3
index 8d7a686008ca..03371001e249 100644
--- a/lib/libc/net/nsdispatch.3
+++ b/lib/libc/net/nsdispatch.3
@@ -44,7 +44,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <nsswitch.h>
+.In nsswitch.h
.Ft int
.Fo nsdispatch
.Fa "void *retval"
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index 08b6e72c461d..119306526d7d 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -47,7 +47,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <unistd.h>
+.In unistd.h
.Ft int
.Fn rcmd "char **ahost" "int inport" "const char *locuser" "const char *remuser" "const char *cmd" "int *fd2p"
.Ft int
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 8f13af701502..7910d76101e5 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -52,10 +52,10 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
-.Fd #include <arpa/nameser.h>
-.Fd #include <resolv.h>
+.In sys/types.h
+.In netinet/in.h
+.In arpa/nameser.h
+.In resolv.h
.Ft int
.Fo res_query
.Fa "const char *dname"