svn commit: r251369 - in head: lib/libc/gen lib/libc/net share/man/man3 usr.bin/m4/lib

Joel Dahl joel at FreeBSD.org
Tue Jun 4 07:37:07 UTC 2013


Author: joel (doc committer)
Date: Tue Jun  4 07:37:06 2013
New Revision: 251369
URL: http://svnweb.freebsd.org/changeset/base/251369

Log:
  mdoc: convert .Fd to .In, which is much nicer.

Modified:
  head/lib/libc/gen/dl_iterate_phdr.3
  head/lib/libc/net/getaddrinfo.3
  head/lib/libc/net/getnameinfo.3
  head/share/man/man3/offsetof.3
  head/usr.bin/m4/lib/ohash_init.3
  head/usr.bin/m4/lib/ohash_interval.3

Modified: head/lib/libc/gen/dl_iterate_phdr.3
==============================================================================
--- head/lib/libc/gen/dl_iterate_phdr.3	Tue Jun  4 06:38:01 2013	(r251368)
+++ head/lib/libc/gen/dl_iterate_phdr.3	Tue Jun  4 07:37:06 2013	(r251369)
@@ -29,7 +29,7 @@ Statically linked programs use an implem
 .Fn dl_iterate_phdr
 from libc.
 .Sh SYNOPSIS
-.Fd #include <link.h>
+.In link.h
 .Ft int
 .Fn dl_iterate_phdr "int (*callback)(struct dl_phdr_info *, size_t, void *)" "void *data"
 .Sh DESCRIPTION

Modified: head/lib/libc/net/getaddrinfo.3
==============================================================================
--- head/lib/libc/net/getaddrinfo.3	Tue Jun  4 06:38:01 2013	(r251368)
+++ head/lib/libc/net/getaddrinfo.3	Tue Jun  4 07:37:06 2013	(r251369)
@@ -26,9 +26,9 @@
 .Nm freeaddrinfo
 .Nd socket address structure to host and service name
 .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
 .Fo getaddrinfo
 .Fa "const char *hostname" "const char *servname"

Modified: head/lib/libc/net/getnameinfo.3
==============================================================================
--- head/lib/libc/net/getnameinfo.3	Tue Jun  4 06:38:01 2013	(r251368)
+++ head/lib/libc/net/getnameinfo.3	Tue Jun  4 07:37:06 2013	(r251369)
@@ -25,9 +25,9 @@
 .Nm getnameinfo
 .Nd socket address structure to hostname and service name
 .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
 .Fo getnameinfo
 .Fa "const struct sockaddr *sa" "socklen_t salen" "char *host"

Modified: head/share/man/man3/offsetof.3
==============================================================================
--- head/share/man/man3/offsetof.3	Tue Jun  4 06:38:01 2013	(r251368)
+++ head/share/man/man3/offsetof.3	Tue Jun  4 07:37:06 2013	(r251369)
@@ -23,7 +23,7 @@
 .Nm offsetof
 .Nd offset of a structure member
 .Sh SYNOPSIS
-.Fd #include <stddef.h>
+.In stddef.h
 .Ft size_t
 .Fn offsetof "type" "member"
 .Sh DESCRIPTION

Modified: head/usr.bin/m4/lib/ohash_init.3
==============================================================================
--- head/usr.bin/m4/lib/ohash_init.3	Tue Jun  4 06:38:01 2013	(r251368)
+++ head/usr.bin/m4/lib/ohash_init.3	Tue Jun  4 07:37:06 2013	(r251369)
@@ -31,9 +31,9 @@
 .Nm ohash_entries
 .Nd light-weight open hashing
 .Sh SYNOPSIS
-.Fd #include <stdint.h>
-.Fd #include <stddef.h>
-.Fd #include <ohash.h>
+.In stdint.h
+.In stddef.h
+.In ohash.h
 .Ft void
 .Fn ohash_init "struct ohash *h" "unsigned int size" "struct ohash_info *info"
 .Ft void

Modified: head/usr.bin/m4/lib/ohash_interval.3
==============================================================================
--- head/usr.bin/m4/lib/ohash_interval.3	Tue Jun  4 06:38:01 2013	(r251368)
+++ head/usr.bin/m4/lib/ohash_interval.3	Tue Jun  4 07:37:06 2013	(r251369)
@@ -25,9 +25,9 @@
 .Nm ohash_qlookupi
 .Nd helper functions for open hashing
 .Sh SYNOPSIS
-.Fd #include <stdint.h>
-.Fd #include <stddef.h>
-.Fd #include <ohash.h>
+.In stdint.h
+.In stddef.h
+.In ohash.h
 .Ft uint32_t
 .Fn ohash_interval "const char *start" "const char **pend"
 .Ft "void *"


More information about the svn-src-head mailing list