aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-04-14 19:08:06 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-04-14 19:08:06 +0000
commitaa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744 (patch)
tree2671e136a6b1e08e763e43a9271f94a2d3833f89 /lib
parentc5ff2cdb99c0a70595a3d13be9c5d88741b5d3af (diff)
downloadsrc-aa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744.tar.gz
src-aa12cea2ccc6e686d6d31cf67d6bc69cbc1ba744.zip
mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
Notes
Notes: svn path=/head/; revision=206622
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/check_utility_compat.32
-rw-r--r--lib/libc/gen/dladdr.32
-rw-r--r--lib/libc/gen/dlinfo.32
-rw-r--r--lib/libc/gen/dllockinit.32
-rw-r--r--lib/libc/gen/dlopen.32
-rw-r--r--lib/libc/gen/fmtcheck.32
-rw-r--r--lib/libc/gen/ftok.32
-rw-r--r--lib/libc/gen/getutxent.32
-rw-r--r--lib/libc/gen/setproctitle.32
-rw-r--r--lib/libc/gen/stringlist.32
-rw-r--r--lib/libc/posix1e/mac_prepare.32
-rw-r--r--lib/libc/stdlib/hcreate.32
-rw-r--r--lib/libc/stdlib/ptsname.32
-rw-r--r--lib/libcam/cam.32
-rw-r--r--lib/libcam/cam_cdbparse.32
-rw-r--r--lib/libcompat/4.1/cftime.32
-rw-r--r--lib/libcompat/4.4/cuserid.32
-rw-r--r--lib/libedit/editline.32
-rw-r--r--lib/libedit/editrc.52
-rw-r--r--lib/libelf/elf.32
-rw-r--r--lib/libelf/elf_begin.32
-rw-r--r--lib/libelf/elf_cntl.32
-rw-r--r--lib/libelf/elf_end.32
-rw-r--r--lib/libelf/elf_errmsg.32
-rw-r--r--lib/libelf/elf_fill.32
-rw-r--r--lib/libelf/elf_flagdata.32
-rw-r--r--lib/libelf/elf_getarhdr.32
-rw-r--r--lib/libelf/elf_getarsym.32
-rw-r--r--lib/libelf/elf_getbase.32
-rw-r--r--lib/libelf/elf_getdata.32
-rw-r--r--lib/libelf/elf_getident.32
-rw-r--r--lib/libelf/elf_getphnum.32
-rw-r--r--lib/libelf/elf_getscn.32
-rw-r--r--lib/libelf/elf_getshnum.32
-rw-r--r--lib/libelf/elf_getshstrndx.32
-rw-r--r--lib/libelf/elf_hash.32
-rw-r--r--lib/libelf/elf_kind.32
-rw-r--r--lib/libelf/elf_memory.32
-rw-r--r--lib/libelf/elf_next.32
-rw-r--r--lib/libelf/elf_rand.32
-rw-r--r--lib/libelf/elf_rawfile.32
-rw-r--r--lib/libelf/elf_strptr.32
-rw-r--r--lib/libelf/elf_update.32
-rw-r--r--lib/libelf/elf_version.32
-rw-r--r--lib/libelf/gelf.32
-rw-r--r--lib/libelf/gelf_checksum.32
-rw-r--r--lib/libelf/gelf_fsize.32
-rw-r--r--lib/libelf/gelf_getcap.32
-rw-r--r--lib/libelf/gelf_getclass.32
-rw-r--r--lib/libelf/gelf_getdyn.32
-rw-r--r--lib/libelf/gelf_getehdr.32
-rw-r--r--lib/libelf/gelf_getmove.32
-rw-r--r--lib/libelf/gelf_getphdr.32
-rw-r--r--lib/libelf/gelf_getrel.32
-rw-r--r--lib/libelf/gelf_getrela.32
-rw-r--r--lib/libelf/gelf_getshdr.32
-rw-r--r--lib/libelf/gelf_getsym.32
-rw-r--r--lib/libelf/gelf_getsyminfo.32
-rw-r--r--lib/libelf/gelf_getsymshndx.32
-rw-r--r--lib/libelf/gelf_newehdr.32
-rw-r--r--lib/libelf/gelf_newphdr.32
-rw-r--r--lib/libelf/gelf_update_ehdr.32
-rw-r--r--lib/libelf/gelf_xlatetof.32
-rw-r--r--lib/libgssapi/gss_accept_sec_context.32
-rw-r--r--lib/libgssapi/gss_acquire_cred.32
-rw-r--r--lib/libgssapi/gss_add_cred.32
-rw-r--r--lib/libgssapi/gss_add_oid_set_member.32
-rw-r--r--lib/libgssapi/gss_canonicalize_name.32
-rw-r--r--lib/libgssapi/gss_compare_name.32
-rw-r--r--lib/libgssapi/gss_context_time.32
-rw-r--r--lib/libgssapi/gss_create_empty_oid_set.32
-rw-r--r--lib/libgssapi/gss_delete_sec_context.32
-rw-r--r--lib/libgssapi/gss_display_name.32
-rw-r--r--lib/libgssapi/gss_display_status.32
-rw-r--r--lib/libgssapi/gss_duplicate_name.32
-rw-r--r--lib/libgssapi/gss_export_name.32
-rw-r--r--lib/libgssapi/gss_export_sec_context.32
-rw-r--r--lib/libgssapi/gss_get_mic.32
-rw-r--r--lib/libgssapi/gss_import_name.32
-rw-r--r--lib/libgssapi/gss_import_sec_context.32
-rw-r--r--lib/libgssapi/gss_indicate_mechs.32
-rw-r--r--lib/libgssapi/gss_init_sec_context.32
-rw-r--r--lib/libgssapi/gss_inquire_context.32
-rw-r--r--lib/libgssapi/gss_inquire_cred.32
-rw-r--r--lib/libgssapi/gss_inquire_cred_by_mech.32
-rw-r--r--lib/libgssapi/gss_inquire_mechs_for_name.32
-rw-r--r--lib/libgssapi/gss_inquire_names_for_mech.32
-rw-r--r--lib/libgssapi/gss_process_context_token.32
-rw-r--r--lib/libgssapi/gss_release_buffer.32
-rw-r--r--lib/libgssapi/gss_release_cred.32
-rw-r--r--lib/libgssapi/gss_release_name.32
-rw-r--r--lib/libgssapi/gss_release_oid_set.32
-rw-r--r--lib/libgssapi/gss_test_oid_set_member.32
-rw-r--r--lib/libgssapi/gss_unwrap.32
-rw-r--r--lib/libgssapi/gss_verify_mic.32
-rw-r--r--lib/libgssapi/gss_wrap.32
-rw-r--r--lib/libgssapi/gss_wrap_size_limit.32
-rw-r--r--lib/libmemstat/libmemstat.32
-rw-r--r--lib/libpmc/pmc.32
-rw-r--r--lib/libpmc/pmc.atom.32
-rw-r--r--lib/libpmc/pmc.core.32
-rw-r--r--lib/libpmc/pmc.core2.32
-rw-r--r--lib/libpmc/pmc.corei7.32
-rw-r--r--lib/libpmc/pmc.corei7uc.32
-rw-r--r--lib/libpmc/pmc.iaf.32
-rw-r--r--lib/libpmc/pmc.k7.32
-rw-r--r--lib/libpmc/pmc.k8.32
-rw-r--r--lib/libpmc/pmc.p4.32
-rw-r--r--lib/libpmc/pmc.p5.32
-rw-r--r--lib/libpmc/pmc.p6.32
-rw-r--r--lib/libpmc/pmc.tsc.32
-rw-r--r--lib/libpmc/pmc.ucf.32
-rw-r--r--lib/libpmc/pmc.westmere.32
-rw-r--r--lib/libpmc/pmc.westmereuc.32
-rw-r--r--lib/libpmc/pmc_allocate.32
-rw-r--r--lib/libpmc/pmc_attach.32
-rw-r--r--lib/libpmc/pmc_capabilities.32
-rw-r--r--lib/libpmc/pmc_configure_logfile.32
-rw-r--r--lib/libpmc/pmc_disable.32
-rw-r--r--lib/libpmc/pmc_event_names_of_class.32
-rw-r--r--lib/libpmc/pmc_get_driver_stats.32
-rw-r--r--lib/libpmc/pmc_get_msr.32
-rw-r--r--lib/libpmc/pmc_init.32
-rw-r--r--lib/libpmc/pmc_name_of_capability.32
-rw-r--r--lib/libpmc/pmc_read.32
-rw-r--r--lib/libpmc/pmc_set.32
-rw-r--r--lib/libpmc/pmc_start.32
-rw-r--r--lib/libpmc/pmclog.32
-rw-r--r--lib/libthr/libthr.32
-rw-r--r--lib/libugidfw/bsde_get_rule.32
-rw-r--r--lib/libugidfw/bsde_get_rule_count.32
-rw-r--r--lib/libugidfw/bsde_parse_rule.32
-rw-r--r--lib/libugidfw/bsde_rule_to_string.32
-rw-r--r--lib/libugidfw/libugidfw.32
-rw-r--r--lib/libulog/ulog_login.32
-rw-r--r--lib/libulog/utempter_add_record.32
-rw-r--r--lib/libutil/_secure_path.32
-rw-r--r--lib/libutil/auth.32
-rw-r--r--lib/libutil/hexdump.32
-rw-r--r--lib/libutil/kinfo_getfile.32
-rw-r--r--lib/libutil/kinfo_getvmmap.32
-rw-r--r--lib/libutil/kld.32
-rw-r--r--lib/libutil/login_auth.32
-rw-r--r--lib/libutil/login_cap.32
-rw-r--r--lib/libutil/login_class.32
-rw-r--r--lib/libutil/login_ok.32
-rw-r--r--lib/libutil/login_times.32
-rw-r--r--lib/libutil/login_tty.32
-rw-r--r--lib/libutil/property.32
-rw-r--r--lib/libutil/pty.32
-rw-r--r--lib/libutil/realhostname.32
-rw-r--r--lib/libutil/realhostname_sa.32
-rw-r--r--lib/libutil/trimdomain.32
-rw-r--r--lib/libutil/uucplock.32
154 files changed, 154 insertions, 154 deletions
diff --git a/lib/libc/gen/check_utility_compat.3 b/lib/libc/gen/check_utility_compat.3
index 7a96bac15c5c..57638e50ead0 100644
--- a/lib/libc/gen/check_utility_compat.3
+++ b/lib/libc/gen/check_utility_compat.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd October 27, 2002
-.Os
.Dt CHECK_UTILITY_COMPAT 3
+.Os
.Sh NAME
.Nm check_utility_compat
.Nd "determine whether a utility should be compatible"
diff --git a/lib/libc/gen/dladdr.3 b/lib/libc/gen/dladdr.3
index 414fa49a3e90..65662793b59d 100644
--- a/lib/libc/gen/dladdr.3
+++ b/lib/libc/gen/dladdr.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 5, 1998
-.Os
.Dt DLADDR 3
+.Os
.Sh NAME
.Nm dladdr
.Nd find the shared object containing a given address
diff --git a/lib/libc/gen/dlinfo.3 b/lib/libc/gen/dlinfo.3
index 9433fb6e9d12..d00f07467af5 100644
--- a/lib/libc/gen/dlinfo.3
+++ b/lib/libc/gen/dlinfo.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 14, 2003
-.Os
.Dt DLINFO 3
+.Os
.Sh NAME
.Nm dlinfo
.Nd information about dynamically loaded object
diff --git a/lib/libc/gen/dllockinit.3 b/lib/libc/gen/dllockinit.3
index 98d10749485e..be3e2cab87f7 100644
--- a/lib/libc/gen/dllockinit.3
+++ b/lib/libc/gen/dllockinit.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd July 5, 2000
-.Os
.Dt DLLOCKINIT 3
+.Os
.Sh NAME
.Nm dllockinit
.Nd register thread locking methods with the dynamic linker
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3
index d4b111a10026..45b013974686 100644
--- a/lib/libc/gen/dlopen.3
+++ b/lib/libc/gen/dlopen.3
@@ -33,8 +33,8 @@
.\" $FreeBSD$
.\"
.Dd July 7, 2009
-.Os
.Dt DLOPEN 3
+.Os
.Sh NAME
.Nm dlopen ,
.Nm dlsym ,
diff --git a/lib/libc/gen/fmtcheck.3 b/lib/libc/gen/fmtcheck.3
index ecd70fb8b309..2fa587b6bd9f 100644
--- a/lib/libc/gen/fmtcheck.3
+++ b/lib/libc/gen/fmtcheck.3
@@ -26,8 +26,8 @@
.\"
.\" $FreeBSD$
.Dd October 16, 2002
-.Os
.Dt FMTCHECK 3
+.Os
.Sh NAME
.Nm fmtcheck
.Nd sanitizes user-supplied
diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3
index 78bfe457c3df..996b2da41c7b 100644
--- a/lib/libc/gen/ftok.3
+++ b/lib/libc/gen/ftok.3
@@ -25,8 +25,8 @@
.\"
.\" $FreeBSD$
.Dd July 9, 2009
-.Os
.Dt FTOK 3
+.Os
.Sh NAME
.Nm ftok
.Nd create IPC identifier from path name
diff --git a/lib/libc/gen/getutxent.3 b/lib/libc/gen/getutxent.3
index 5ab21eede740..ccc5d9ed5c36 100644
--- a/lib/libc/gen/getutxent.3
+++ b/lib/libc/gen/getutxent.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd January 8, 2010
-.Os
.Dt GETUTXENT 3
+.Os
.Sh NAME
.Nm endutxent ,
.Nm getutxent ,
diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3
index fe9f19acde6e..73dc8c00cc71 100644
--- a/lib/libc/gen/setproctitle.3
+++ b/lib/libc/gen/setproctitle.3
@@ -21,8 +21,8 @@
.\"
.\" The following requests are required for all man pages.
.Dd December 16, 1995
-.Os
.Dt SETPROCTITLE 3
+.Os
.Sh NAME
.Nm setproctitle
.Nd set process title
diff --git a/lib/libc/gen/stringlist.3 b/lib/libc/gen/stringlist.3
index 44d2a36ffa4a..c55b77d7802a 100644
--- a/lib/libc/gen/stringlist.3
+++ b/lib/libc/gen/stringlist.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd November 28, 1999
-.Os
.Dt STRINGLIST 3
+.Os
.Sh NAME
.Nm stringlist ,
.Nm sl_init ,
diff --git a/lib/libc/posix1e/mac_prepare.3 b/lib/libc/posix1e/mac_prepare.3
index 1d8522908f9a..8e694de133b3 100644
--- a/lib/libc/posix1e/mac_prepare.3
+++ b/lib/libc/posix1e/mac_prepare.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd August 22, 2003
-.Os
.Dt MAC_PREPARE 3
+.Os
.Sh NAME
.Nm mac_prepare , mac_prepare_type , mac_prepare_file_label ,
.Nm mac_prepare_ifnet_label , mac_prepare_process_label
diff --git a/lib/libc/stdlib/hcreate.3 b/lib/libc/stdlib/hcreate.3
index cd827207694a..2466c9f428a6 100644
--- a/lib/libc/stdlib/hcreate.3
+++ b/lib/libc/stdlib/hcreate.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 6, 2008
-.Os
.Dt HCREATE 3
+.Os
.Sh NAME
.Nm hcreate , hdestroy , hsearch
.Nd manage hash search table
diff --git a/lib/libc/stdlib/ptsname.3 b/lib/libc/stdlib/ptsname.3
index f674a54bd906..48da3bd81c26 100644
--- a/lib/libc/stdlib/ptsname.3
+++ b/lib/libc/stdlib/ptsname.3
@@ -32,8 +32,8 @@
.\" $FreeBSD$
.\"
.Dd August 20, 2008
-.Os
.Dt PTSNAME 3
+.Os
.Sh NAME
.Nm grantpt ,
.Nm ptsname ,
diff --git a/lib/libcam/cam.3 b/lib/libcam/cam.3
index 539709f265ab..3a857b2fd798 100644
--- a/lib/libcam/cam.3
+++ b/lib/libcam/cam.3
@@ -28,8 +28,8 @@
.\" $FreeBSD$
.\"
.Dd October 10, 1998
-.Os
.Dt CAM 3
+.Os
.Sh NAME
.Nm cam_open_device ,
.Nm cam_open_spec_device ,
diff --git a/lib/libcam/cam_cdbparse.3 b/lib/libcam/cam_cdbparse.3
index 891652dca927..35a595151f3b 100644
--- a/lib/libcam/cam_cdbparse.3
+++ b/lib/libcam/cam_cdbparse.3
@@ -62,8 +62,8 @@
.\"
.\"
.Dd October 13, 1998
-.Os
.Dt CAM_CDBPARSE 3
+.Os
.Sh NAME
.Nm csio_build ,
.Nm csio_build_visit ,
diff --git a/lib/libcompat/4.1/cftime.3 b/lib/libcompat/4.1/cftime.3
index 116f5de5dfad..dd21e781ed71 100644
--- a/lib/libcompat/4.1/cftime.3
+++ b/lib/libcompat/4.1/cftime.3
@@ -35,8 +35,8 @@
.\" $FreeBSD$
.\"
.Dd June 15, 1993
-.Os
.Dt CFTIME 3
+.Os
.Sh NAME
.Nm cftime ,
.Nm ascftime
diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3
index 72811d5196d6..addd61608ffd 100644
--- a/lib/libcompat/4.4/cuserid.3
+++ b/lib/libcompat/4.4/cuserid.3
@@ -32,8 +32,8 @@
.\" $FreeBSD$
.\"
.Dd April 10, 1995
-.Os
.Dt CUSERID 3
+.Os
.Sh NAME
.Nm cuserid
.Nd get user name associated with effective UID
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index d5dfff5e7a4b..9794649a56e3 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd January 12, 2007
-.Os
.Dt EDITLINE 3
+.Os
.Sh NAME
.Nm editline ,
.Nm el_init ,
diff --git a/lib/libedit/editrc.5 b/lib/libedit/editrc.5
index 4b1d4148b8d8..2fa1a634dea5 100644
--- a/lib/libedit/editrc.5
+++ b/lib/libedit/editrc.5
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd October 18, 2003
-.Os
.Dt EDITRC 5
+.Os
.Sh NAME
.Nm editrc
.Nd configuration file for editline library
diff --git a/lib/libelf/elf.3 b/lib/libelf/elf.3
index 854e1af1a2f9..c649efe72be4 100644
--- a/lib/libelf/elf.3
+++ b/lib/libelf/elf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 21, 2007
-.Os
.Dt ELF 3
+.Os
.Sh NAME
.Nm elf
.Nd API for manipulating ELF objects
diff --git a/lib/libelf/elf_begin.3 b/lib/libelf/elf_begin.3
index c43766f7bcb2..dac49102eafa 100644
--- a/lib/libelf/elf_begin.3
+++ b/lib/libelf/elf_begin.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 21, 2006
-.Os
.Dt ELF_BEGIN 3
+.Os
.Sh NAME
.Nm elf_begin
.Nd open an ELF file or ar(1) archive
diff --git a/lib/libelf/elf_cntl.3 b/lib/libelf/elf_cntl.3
index 73dca2139446..52771701181c 100644
--- a/lib/libelf/elf_cntl.3
+++ b/lib/libelf/elf_cntl.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 9, 2006
-.Os
.Dt ELF_CNTL 3
+.Os
.Sh NAME
.Nm elf_cntl
.Nd control an elf file descriptor
diff --git a/lib/libelf/elf_end.3 b/lib/libelf/elf_end.3
index 0f74a8984729..3622fb2e6700 100644
--- a/lib/libelf/elf_end.3
+++ b/lib/libelf/elf_end.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 29, 2006
-.Os
.Dt ELF_END 3
+.Os
.Sh NAME
.Nm elf_end
.Nd release an ELF descriptor
diff --git a/lib/libelf/elf_errmsg.3 b/lib/libelf/elf_errmsg.3
index 1ed70bf9ee68..f01416804b50 100644
--- a/lib/libelf/elf_errmsg.3
+++ b/lib/libelf/elf_errmsg.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 11, 2006
-.Os
.Dt ELF_ERRMSG 3
+.Os
.Sh NAME
.Nm elf_errmsg ,
.Nm elf_errno
diff --git a/lib/libelf/elf_fill.3 b/lib/libelf/elf_fill.3
index 33446b99c485..a635b435a6ed 100644
--- a/lib/libelf/elf_fill.3
+++ b/lib/libelf/elf_fill.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 11, 2006
-.Os
.Dt ELF_FILL 3
+.Os
.Sh NAME
.Nm elf_fill
.Nd set fill byte for inter-section padding
diff --git a/lib/libelf/elf_flagdata.3 b/lib/libelf/elf_flagdata.3
index 30c1111904b6..b07e5242681f 100644
--- a/lib/libelf/elf_flagdata.3
+++ b/lib/libelf/elf_flagdata.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt ELF_FLAGDATA 3
+.Os
.Sh NAME
.Nm elf_flagdata ,
.Nm elf_flagehdr ,
diff --git a/lib/libelf/elf_getarhdr.3 b/lib/libelf/elf_getarhdr.3
index f78fc80bc33c..03f911adf3a0 100644
--- a/lib/libelf/elf_getarhdr.3
+++ b/lib/libelf/elf_getarhdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 15, 2006
-.Os
.Dt ELF_GETARHDR 3
+.Os
.Sh NAME
.Nm elf_getarhdr
.Nd retrieve ar(1) header for an archive member
diff --git a/lib/libelf/elf_getarsym.3 b/lib/libelf/elf_getarsym.3
index 1030ea2b6f50..44b28c8c9579 100644
--- a/lib/libelf/elf_getarsym.3
+++ b/lib/libelf/elf_getarsym.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 15, 2006
-.Os
.Dt ELF_GETARSYM 3
+.Os
.Sh NAME
.Nm elf_getarsym
.Nd retrieve the symbol table of an archive
diff --git a/lib/libelf/elf_getbase.3 b/lib/libelf/elf_getbase.3
index 30be6c5c2591..be9d103f14ea 100644
--- a/lib/libelf/elf_getbase.3
+++ b/lib/libelf/elf_getbase.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 11, 2006
-.Os
.Dt ELF_GETBASE 3
+.Os
.Sh NAME
.Nm elf_getbase
.Nd get the base offset for an object file
diff --git a/lib/libelf/elf_getdata.3 b/lib/libelf/elf_getdata.3
index 64da4ad9f8ce..10f37639563b 100644
--- a/lib/libelf/elf_getdata.3
+++ b/lib/libelf/elf_getdata.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 26, 2006
-.Os
.Dt ELF_GETDATA 3
+.Os
.Sh NAME
.Nm elf_getdata ,
.Nm elf_newdata ,
diff --git a/lib/libelf/elf_getident.3 b/lib/libelf/elf_getident.3
index f34ab70e3732..1031e1d0ebc1 100644
--- a/lib/libelf/elf_getident.3
+++ b/lib/libelf/elf_getident.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 3, 2006
-.Os
.Dt ELF_GETIDENT 3
+.Os
.Sh NAME
.Nm elf_getident
.Nd return the initial bytes of a file
diff --git a/lib/libelf/elf_getphnum.3 b/lib/libelf/elf_getphnum.3
index 606ceb0e755e..308f87cd4ccb 100644
--- a/lib/libelf/elf_getphnum.3
+++ b/lib/libelf/elf_getphnum.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 16, 2006
-.Os
.Dt ELF_GETPHNUM 3
+.Os
.Sh NAME
.Nm elf_getphnum
.Nd return the number of program headers in an ELF file
diff --git a/lib/libelf/elf_getscn.3 b/lib/libelf/elf_getscn.3
index 5b9de412a014..1b1b5f9ef738 100644
--- a/lib/libelf/elf_getscn.3
+++ b/lib/libelf/elf_getscn.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt ELF_GETSCN 3
+.Os
.Sh NAME
.Nm elf_getscn ,
.Nm elf_ndxscn ,
diff --git a/lib/libelf/elf_getshnum.3 b/lib/libelf/elf_getshnum.3
index 10a370ce6db8..7c8a04c26a5c 100644
--- a/lib/libelf/elf_getshnum.3
+++ b/lib/libelf/elf_getshnum.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 31, 2006
-.Os
.Dt ELF_GETSHNUM 3
+.Os
.Sh NAME
.Nm elf_getshnum
.Nd return the number of sections in an ELF file
diff --git a/lib/libelf/elf_getshstrndx.3 b/lib/libelf/elf_getshstrndx.3
index 115b2dac1c6d..71df3ac51926 100644
--- a/lib/libelf/elf_getshstrndx.3
+++ b/lib/libelf/elf_getshstrndx.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 31, 2006
-.Os
.Dt ELF_GETSHSTRNDX 3
+.Os
.Sh NAME
.Nm elf_getshstrndx ,
.Nm elf_setshstrndx
diff --git a/lib/libelf/elf_hash.3 b/lib/libelf/elf_hash.3
index 02095988959a..0df2804e2fa0 100644
--- a/lib/libelf/elf_hash.3
+++ b/lib/libelf/elf_hash.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 15, 2006
-.Os
.Dt ELF_HASH 3
+.Os
.Sh NAME
.Nm elf_hash
.Nd compute a hash value for a string
diff --git a/lib/libelf/elf_kind.3 b/lib/libelf/elf_kind.3
index def1582b2299..de74e5749938 100644
--- a/lib/libelf/elf_kind.3
+++ b/lib/libelf/elf_kind.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 1, 2006
-.Os
.Dt ELF_KIND 3
+.Os
.Sh NAME
.Nm elf_kind
.Nd determine ELF file type
diff --git a/lib/libelf/elf_memory.3 b/lib/libelf/elf_memory.3
index 9af6c5e30fa8..83de5124b211 100644
--- a/lib/libelf/elf_memory.3
+++ b/lib/libelf/elf_memory.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 28, 2006
-.Os
.Dt ELF_MEMORY 3
+.Os
.Sh NAME
.Nm elf_memory
.Nd process an ELF or ar(1) archive mapped into memory
diff --git a/lib/libelf/elf_next.3 b/lib/libelf/elf_next.3
index da995fc253be..184ab9f44eec 100644
--- a/lib/libelf/elf_next.3
+++ b/lib/libelf/elf_next.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 17, 2006
-.Os
.Dt ELF_NEXT 3
+.Os
.Sh NAME
.Nm elf_next
.Nd provide sequential access to the next archive member
diff --git a/lib/libelf/elf_rand.3 b/lib/libelf/elf_rand.3
index 46cec6d2895e..e4d23d761f14 100644
--- a/lib/libelf/elf_rand.3
+++ b/lib/libelf/elf_rand.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 17, 2006
-.Os
.Dt ELF_RAND 3
+.Os
.Sh NAME
.Nm elf_rand
.Nd provide sequential access to the next archive member
diff --git a/lib/libelf/elf_rawfile.3 b/lib/libelf/elf_rawfile.3
index 76026e7971bc..4458148830bb 100644
--- a/lib/libelf/elf_rawfile.3
+++ b/lib/libelf/elf_rawfile.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 3, 2006
-.Os
.Dt ELF_RAWFILE 3
+.Os
.Sh NAME
.Nm elf_rawfile
.Nd return uninterpreted contents of an ELF file
diff --git a/lib/libelf/elf_strptr.3 b/lib/libelf/elf_strptr.3
index bf24cc1f6553..a0a9e649bb14 100644
--- a/lib/libelf/elf_strptr.3
+++ b/lib/libelf/elf_strptr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 16, 2006
-.Os
.Dt ELF_STRPTR 3
+.Os
.Sh NAME
.Nm elf_strptr
.Nd retrieve a string pointer in a string table
diff --git a/lib/libelf/elf_update.3 b/lib/libelf/elf_update.3
index 33a14d192bcb..7f6f4f09ba55 100644
--- a/lib/libelf/elf_update.3
+++ b/lib/libelf/elf_update.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 19, 2008
-.Os
.Dt ELF_UPDATE 3
+.Os
.Sh NAME
.Nm elf_update
.Nd update an ELF descriptor
diff --git a/lib/libelf/elf_version.3 b/lib/libelf/elf_version.3
index 25ea62b231cf..e9187106174c 100644
--- a/lib/libelf/elf_version.3
+++ b/lib/libelf/elf_version.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 1, 2006
-.Os
.Dt ELF_VERSION 3
+.Os
.Sh NAME
.Nm elf_version
.Nd retrieve or set ELF library operating version
diff --git a/lib/libelf/gelf.3 b/lib/libelf/gelf.3
index 4ab5ff2867c2..d541388aee39 100644
--- a/lib/libelf/gelf.3
+++ b/lib/libelf/gelf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 1, 2006
-.Os
.Dt GELF 3
+.Os
.Sh NAME
.Nm GElf
.Nd class-independent API for ELF manipulation
diff --git a/lib/libelf/gelf_checksum.3 b/lib/libelf/gelf_checksum.3
index a6f19784b3c7..99870f0af13a 100644
--- a/lib/libelf/gelf_checksum.3
+++ b/lib/libelf/gelf_checksum.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_CHECKSUM 3
+.Os
.Sh NAME
.Nm elf32_checksum ,
.Nm elf64_checksum ,
diff --git a/lib/libelf/gelf_fsize.3 b/lib/libelf/gelf_fsize.3
index 915d840b638c..caefae755fe8 100644
--- a/lib/libelf/gelf_fsize.3
+++ b/lib/libelf/gelf_fsize.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd February 5, 2008
-.Os
.Dt GELF_FSIZE 3
+.Os
.Sh NAME
.Nm gelf_fsize ,
.Nm elf32_fsize ,
diff --git a/lib/libelf/gelf_getcap.3 b/lib/libelf/gelf_getcap.3
index f6262d81a94e..e63a2633753e 100644
--- a/lib/libelf/gelf_getcap.3
+++ b/lib/libelf/gelf_getcap.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETCAP 3
+.Os
.Sh NAME
.Nm gelf_getcap ,
.Nm gelf_update_cap
diff --git a/lib/libelf/gelf_getclass.3 b/lib/libelf/gelf_getclass.3
index cab3e24b8322..7f7bc30ce200 100644
--- a/lib/libelf/gelf_getclass.3
+++ b/lib/libelf/gelf_getclass.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 3, 2006
-.Os
.Dt GELF_GETCLASS 3
+.Os
.Sh NAME
.Nm gelf_getclass
.Nd retrieve the class of an ELF descriptor
diff --git a/lib/libelf/gelf_getdyn.3 b/lib/libelf/gelf_getdyn.3
index 11244440ff8c..a755d63a09f1 100644
--- a/lib/libelf/gelf_getdyn.3
+++ b/lib/libelf/gelf_getdyn.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETDYN 3
+.Os
.Sh NAME
.Nm gelf_getdyn ,
.Nm gelf_update_dyn
diff --git a/lib/libelf/gelf_getehdr.3 b/lib/libelf/gelf_getehdr.3
index d4c8cb34e53a..8e71c2d49454 100644
--- a/lib/libelf/gelf_getehdr.3
+++ b/lib/libelf/gelf_getehdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd December 16, 2006
-.Os
.Dt GELF_GETEHDR 3
+.Os
.Sh NAME
.Nm elf32_getehdr ,
.Nm elf64_getehdr ,
diff --git a/lib/libelf/gelf_getmove.3 b/lib/libelf/gelf_getmove.3
index 11fd9cad9551..abe398ab3745 100644
--- a/lib/libelf/gelf_getmove.3
+++ b/lib/libelf/gelf_getmove.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETMOVE 3
+.Os
.Sh NAME
.Nm gelf_getmove ,
.Nm gelf_update_move
diff --git a/lib/libelf/gelf_getphdr.3 b/lib/libelf/gelf_getphdr.3
index d6ffb9061477..53fab17bba8f 100644
--- a/lib/libelf/gelf_getphdr.3
+++ b/lib/libelf/gelf_getphdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 21, 2007
-.Os
.Dt GELF_GETPHDR 3
+.Os
.Sh NAME
.Nm elf32_getphdr ,
.Nm elf64_getphdr ,
diff --git a/lib/libelf/gelf_getrel.3 b/lib/libelf/gelf_getrel.3
index 75fa79e98222..6e650a5b7d26 100644
--- a/lib/libelf/gelf_getrel.3
+++ b/lib/libelf/gelf_getrel.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETREL 3
+.Os
.Sh NAME
.Nm gelf_getrel ,
.Nm gelf_update_rel
diff --git a/lib/libelf/gelf_getrela.3 b/lib/libelf/gelf_getrela.3
index d8968f56129a..dc7e5795cbec 100644
--- a/lib/libelf/gelf_getrela.3
+++ b/lib/libelf/gelf_getrela.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETRELA 3
+.Os
.Sh NAME
.Nm gelf_getrela ,
.Nm gelf_update_rela
diff --git a/lib/libelf/gelf_getshdr.3 b/lib/libelf/gelf_getshdr.3
index c1823b54d523..851f51f00ef5 100644
--- a/lib/libelf/gelf_getshdr.3
+++ b/lib/libelf/gelf_getshdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 27, 2006
-.Os
.Dt GELF_GETSHDR 3
+.Os
.Sh NAME
.Nm elf32_getshdr ,
.Nm elf64_getshdr ,
diff --git a/lib/libelf/gelf_getsym.3 b/lib/libelf/gelf_getsym.3
index 4e35133648d9..56a6783acb1e 100644
--- a/lib/libelf/gelf_getsym.3
+++ b/lib/libelf/gelf_getsym.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETSYM 3
+.Os
.Sh NAME
.Nm gelf_getsym ,
.Nm gelf_update_sym
diff --git a/lib/libelf/gelf_getsyminfo.3 b/lib/libelf/gelf_getsyminfo.3
index 904e6490a2e8..12da80f544e1 100644
--- a/lib/libelf/gelf_getsyminfo.3
+++ b/lib/libelf/gelf_getsyminfo.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 29, 2006
-.Os
.Dt GELF_GETSYMINFO 3
+.Os
.Sh NAME
.Nm gelf_getsyminfo ,
.Nm gelf_update_syminfo
diff --git a/lib/libelf/gelf_getsymshndx.3 b/lib/libelf/gelf_getsymshndx.3
index c254a4382594..d79c392959f0 100644
--- a/lib/libelf/gelf_getsymshndx.3
+++ b/lib/libelf/gelf_getsymshndx.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 5, 2006
-.Os
.Dt GELF_GETSYMSHNDX 3
+.Os
.Sh NAME
.Nm gelf_getsymshndx ,
.Nm gelf_update_symshndx
diff --git a/lib/libelf/gelf_newehdr.3 b/lib/libelf/gelf_newehdr.3
index 98820e2e06eb..6a2edf8f0429 100644
--- a/lib/libelf/gelf_newehdr.3
+++ b/lib/libelf/gelf_newehdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt GELF_NEWEHDR 3
+.Os
.Sh NAME
.Nm elf32_newehdr ,
.Nm elf64_newehdr ,
diff --git a/lib/libelf/gelf_newphdr.3 b/lib/libelf/gelf_newphdr.3
index 3d669b63aa1d..bd13e5df53ab 100644
--- a/lib/libelf/gelf_newphdr.3
+++ b/lib/libelf/gelf_newphdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 22, 2007
-.Os
.Dt GELF_NEWPHDR 3
+.Os
.Sh NAME
.Nm elf32_newphdr ,
.Nm elf64_newphdr ,
diff --git a/lib/libelf/gelf_update_ehdr.3 b/lib/libelf/gelf_update_ehdr.3
index 82098314e033..df23a0ceb0d2 100644
--- a/lib/libelf/gelf_update_ehdr.3
+++ b/lib/libelf/gelf_update_ehdr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd August 27, 2006
-.Os
.Dt GELF_UPDATE_EHDR 3
+.Os
.Sh NAME
.Nm gelf_update_ehdr ,
.Nm gelf_update_phdr ,
diff --git a/lib/libelf/gelf_xlatetof.3 b/lib/libelf/gelf_xlatetof.3
index b7699305ea85..453f56fcc40d 100644
--- a/lib/libelf/gelf_xlatetof.3
+++ b/lib/libelf/gelf_xlatetof.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd July 24, 2006
-.Os
.Dt GELF_XLATETOF 3
+.Os
.Sh NAME
.Nm elf32_xlate ,
.Nm elf64_xlate ,
diff --git a/lib/libgssapi/gss_accept_sec_context.3 b/lib/libgssapi/gss_accept_sec_context.3
index 8957831e1451..a4c219c164e1 100644
--- a/lib/libgssapi/gss_accept_sec_context.3
+++ b/lib/libgssapi/gss_accept_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ACCEPT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_accept_sec_context
.Nd Accept a security context initiated by a peer application
diff --git a/lib/libgssapi/gss_acquire_cred.3 b/lib/libgssapi/gss_acquire_cred.3
index c48a46838d09..5de9ea0362a2 100644
--- a/lib/libgssapi/gss_acquire_cred.3
+++ b/lib/libgssapi/gss_acquire_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ACQUIRE_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_acquire_cred
.Nd Obtain a GSS-API credential handle for pre-existing credentials
diff --git a/lib/libgssapi/gss_add_cred.3 b/lib/libgssapi/gss_add_cred.3
index 53df140d5559..67ff1c3dc74b 100644
--- a/lib/libgssapi/gss_add_cred.3
+++ b/lib/libgssapi/gss_add_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ADD_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_add_cred
.Nd Construct credentials incrementally
diff --git a/lib/libgssapi/gss_add_oid_set_member.3 b/lib/libgssapi/gss_add_oid_set_member.3
index fb2119cefe88..5839da6717cf 100644
--- a/lib/libgssapi/gss_add_oid_set_member.3
+++ b/lib/libgssapi/gss_add_oid_set_member.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_ADD_OID_SET_MEMBER 3 PRM
+.Os
.Sh NAME
.Nm gss_add_oid_set_member
.Nd Add an object identifier to a set
diff --git a/lib/libgssapi/gss_canonicalize_name.3 b/lib/libgssapi/gss_canonicalize_name.3
index 86957dc05842..036c0eff8245 100644
--- a/lib/libgssapi/gss_canonicalize_name.3
+++ b/lib/libgssapi/gss_canonicalize_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_CANONICALIZE_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_canonicalize_name
.Nd Convert an internal name to an MN
diff --git a/lib/libgssapi/gss_compare_name.3 b/lib/libgssapi/gss_compare_name.3
index 7f69d430b27b..0bafb5964081 100644
--- a/lib/libgssapi/gss_compare_name.3
+++ b/lib/libgssapi/gss_compare_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_COMPARE_NAME PRM
+.Os
.Sh NAME
.Nm gss_compare_name
.Nd Compare two internal-form names
diff --git a/lib/libgssapi/gss_context_time.3 b/lib/libgssapi/gss_context_time.3
index 9fb43eacab05..b6b4157dd947 100644
--- a/lib/libgssapi/gss_context_time.3
+++ b/lib/libgssapi/gss_context_time.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_CONTEXT_TIME 3 PRM
+.Os
.Sh NAME
.Nm gss_context_time
.Nd Determine for how long a context will remain valid
diff --git a/lib/libgssapi/gss_create_empty_oid_set.3 b/lib/libgssapi/gss_create_empty_oid_set.3
index 08d82f6b2baa..3a84f855c152 100644
--- a/lib/libgssapi/gss_create_empty_oid_set.3
+++ b/lib/libgssapi/gss_create_empty_oid_set.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_CREATE_EMPTY_OID_SET 3 PRM
+.Os
.Sh NAME
.Nm gss_create_empty_oid_set
.Nd Create a set containing no object identifiers
diff --git a/lib/libgssapi/gss_delete_sec_context.3 b/lib/libgssapi/gss_delete_sec_context.3
index a0c26df7f3ea..1c4fa7b66909 100644
--- a/lib/libgssapi/gss_delete_sec_context.3
+++ b/lib/libgssapi/gss_delete_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DELETE_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_delete_sec_context
.Nd Discard a security context
diff --git a/lib/libgssapi/gss_display_name.3 b/lib/libgssapi/gss_display_name.3
index 2441eef4c490..4944995c4678 100644
--- a/lib/libgssapi/gss_display_name.3
+++ b/lib/libgssapi/gss_display_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DISPLAY_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_display_name
.Nd Convert internal-form name to text
diff --git a/lib/libgssapi/gss_display_status.3 b/lib/libgssapi/gss_display_status.3
index 2b1affd4e351..4bf908bb1d0f 100644
--- a/lib/libgssapi/gss_display_status.3
+++ b/lib/libgssapi/gss_display_status.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DISPLAY_STATUS 3 PRM
+.Os
.Sh NAME
.Nm gss_display_status
.Nd Convert a GSS-API status code to text
diff --git a/lib/libgssapi/gss_duplicate_name.3 b/lib/libgssapi/gss_duplicate_name.3
index 334a12684104..5eb4a6284c41 100644
--- a/lib/libgssapi/gss_duplicate_name.3
+++ b/lib/libgssapi/gss_duplicate_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_DUPLICATE_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_duplicate_name
.Nd Create a copy of an internal name
diff --git a/lib/libgssapi/gss_export_name.3 b/lib/libgssapi/gss_export_name.3
index e1feee22bd60..5cbf803b9496 100644
--- a/lib/libgssapi/gss_export_name.3
+++ b/lib/libgssapi/gss_export_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_EXPORT_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_export_name
.Nd Convert an MN to export form
diff --git a/lib/libgssapi/gss_export_sec_context.3 b/lib/libgssapi/gss_export_sec_context.3
index 1f7f01df9d3f..7ecbef317172 100644
--- a/lib/libgssapi/gss_export_sec_context.3
+++ b/lib/libgssapi/gss_export_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_EXPORT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_export_sec_context
.Nd Transfer a security context to another process
diff --git a/lib/libgssapi/gss_get_mic.3 b/lib/libgssapi/gss_get_mic.3
index 8892808f022d..e5d81fa77f4e 100644
--- a/lib/libgssapi/gss_get_mic.3
+++ b/lib/libgssapi/gss_get_mic.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_GET_MIC 3 PRM
+.Os
.Sh NAME
.Nm gss_get_mic ,
.Nm gss_sign
diff --git a/lib/libgssapi/gss_import_name.3 b/lib/libgssapi/gss_import_name.3
index 3119f04534bb..aef1ae8cb100 100644
--- a/lib/libgssapi/gss_import_name.3
+++ b/lib/libgssapi/gss_import_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_IMPORT_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_import_name
.Nd Convert a contiguous string name to internal-form
diff --git a/lib/libgssapi/gss_import_sec_context.3 b/lib/libgssapi/gss_import_sec_context.3
index a889e2b7fa43..87aaa7872c70 100644
--- a/lib/libgssapi/gss_import_sec_context.3
+++ b/lib/libgssapi/gss_import_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_IMPORT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_import_sec_context
.Nd Import a transferred context
diff --git a/lib/libgssapi/gss_indicate_mechs.3 b/lib/libgssapi/gss_indicate_mechs.3
index 26ffaa601624..3eec8615a171 100644
--- a/lib/libgssapi/gss_indicate_mechs.3
+++ b/lib/libgssapi/gss_indicate_mechs.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INDICATE_MECHS 3 PRM
+.Os
.Sh NAME
.Nm gss_indicate_mechs
.Nd Determine available underlying authentication mechanisms
diff --git a/lib/libgssapi/gss_init_sec_context.3 b/lib/libgssapi/gss_init_sec_context.3
index 278dd17979b5..9d14859fb41f 100644
--- a/lib/libgssapi/gss_init_sec_context.3
+++ b/lib/libgssapi/gss_init_sec_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INIT_SEC_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_init_sec_context
.Nd Initiate a security context with a peer application
diff --git a/lib/libgssapi/gss_inquire_context.3 b/lib/libgssapi/gss_inquire_context.3
index 51fa18db8299..ba5d649facd3 100644
--- a/lib/libgssapi/gss_inquire_context.3
+++ b/lib/libgssapi/gss_inquire_context.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_CONTEXT 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_context
.Nd Obtain information about a security context
diff --git a/lib/libgssapi/gss_inquire_cred.3 b/lib/libgssapi/gss_inquire_cred.3
index 99c20ce01fbb..923b3734bea1 100644
--- a/lib/libgssapi/gss_inquire_cred.3
+++ b/lib/libgssapi/gss_inquire_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_cred
.Nd Obtain information about a credential
diff --git a/lib/libgssapi/gss_inquire_cred_by_mech.3 b/lib/libgssapi/gss_inquire_cred_by_mech.3
index 22319bd4613d..c316930cffbc 100644
--- a/lib/libgssapi/gss_inquire_cred_by_mech.3
+++ b/lib/libgssapi/gss_inquire_cred_by_mech.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_CRED_BY_MECH 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_cred_by_mech
.Nd Obtain per-mechanism information about a credential
diff --git a/lib/libgssapi/gss_inquire_mechs_for_name.3 b/lib/libgssapi/gss_inquire_mechs_for_name.3
index b56e663a18d8..d8d94edb4820 100644
--- a/lib/libgssapi/gss_inquire_mechs_for_name.3
+++ b/lib/libgssapi/gss_inquire_mechs_for_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_MECHS_FOR_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_mechs_for_name
.Nd List mechanisms that support the specified name-type
diff --git a/lib/libgssapi/gss_inquire_names_for_mech.3 b/lib/libgssapi/gss_inquire_names_for_mech.3
index 8b7f069f9158..c1b7528b56e0 100644
--- a/lib/libgssapi/gss_inquire_names_for_mech.3
+++ b/lib/libgssapi/gss_inquire_names_for_mech.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_INQUIRE_NAMES_FOR_MECH 3 PRM
+.Os
.Sh NAME
.Nm gss_inquire_names_for_mech
.Nd List the name-types supported by the specified mechanism
diff --git a/lib/libgssapi/gss_process_context_token.3 b/lib/libgssapi/gss_process_context_token.3
index 85e1029aab08..53f5ebfcc533 100644
--- a/lib/libgssapi/gss_process_context_token.3
+++ b/lib/libgssapi/gss_process_context_token.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_PROCESS_CONTEXT_TOKEN 3 PRM
+.Os
.Sh NAME
.Nm gss_process_context_token
.Nd Process a token on a security context from a peer application
diff --git a/lib/libgssapi/gss_release_buffer.3 b/lib/libgssapi/gss_release_buffer.3
index 432d42276c53..259db3ba6b8e 100644
--- a/lib/libgssapi/gss_release_buffer.3
+++ b/lib/libgssapi/gss_release_buffer.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_BUFFER 3 PRM
+.Os
.Sh NAME
.Nm gss_release_buffer
.Nd Discard a buffer
diff --git a/lib/libgssapi/gss_release_cred.3 b/lib/libgssapi/gss_release_cred.3
index ca99fc40a8fc..38fc7844bea8 100644
--- a/lib/libgssapi/gss_release_cred.3
+++ b/lib/libgssapi/gss_release_cred.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_CRED 3 PRM
+.Os
.Sh NAME
.Nm gss_release_cred
.Nd Discard a credential handle
diff --git a/lib/libgssapi/gss_release_name.3 b/lib/libgssapi/gss_release_name.3
index 7bf1181f22a0..ca737e0af3ab 100644
--- a/lib/libgssapi/gss_release_name.3
+++ b/lib/libgssapi/gss_release_name.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_NAME 3 PRM
+.Os
.Sh NAME
.Nm gss_release_name
.Nd Discard an internal-form name
diff --git a/lib/libgssapi/gss_release_oid_set.3 b/lib/libgssapi/gss_release_oid_set.3
index 0142e2feec15..391ad283c799 100644
--- a/lib/libgssapi/gss_release_oid_set.3
+++ b/lib/libgssapi/gss_release_oid_set.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_RELEASE_OID_SET 3 PRM
+.Os
.Sh NAME
.Nm gss_release_oid_set
.Nd Discard a set of object identifiers
diff --git a/lib/libgssapi/gss_test_oid_set_member.3 b/lib/libgssapi/gss_test_oid_set_member.3
index 86e06b35bb7c..c6dad0f2fe76 100644
--- a/lib/libgssapi/gss_test_oid_set_member.3
+++ b/lib/libgssapi/gss_test_oid_set_member.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_TEST_OID_SET_MEMBER 3 PRM
+.Os
.Sh NAME
.Nm gss_test_oid_set_member
.Nd Determines whether an object identifier is a member of a set
diff --git a/lib/libgssapi/gss_unwrap.3 b/lib/libgssapi/gss_unwrap.3
index cc75782310b4..94537a496508 100644
--- a/lib/libgssapi/gss_unwrap.3
+++ b/lib/libgssapi/gss_unwrap.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_UNWRAP 3 PRM
+.Os
.Sh NAME
.Nm gss_unwrap ,
.Nm gss_unseal
diff --git a/lib/libgssapi/gss_verify_mic.3 b/lib/libgssapi/gss_verify_mic.3
index b72f468ce7d5..e8a46119422b 100644
--- a/lib/libgssapi/gss_verify_mic.3
+++ b/lib/libgssapi/gss_verify_mic.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_VERIFY_MIC 3 PRM
+.Os
.Sh NAME
.Nm gss_verify_mic ,
.Nm gss_verify
diff --git a/lib/libgssapi/gss_wrap.3 b/lib/libgssapi/gss_wrap.3
index c432b482c1b4..5732dd24cf83 100644
--- a/lib/libgssapi/gss_wrap.3
+++ b/lib/libgssapi/gss_wrap.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_WRAP 3 PRM
+.Os
.Sh NAME
.Nm gss_wrap ,
.Nm gss_seal
diff --git a/lib/libgssapi/gss_wrap_size_limit.3 b/lib/libgssapi/gss_wrap_size_limit.3
index c1d40da014de..7a1cb599ad20 100644
--- a/lib/libgssapi/gss_wrap_size_limit.3
+++ b/lib/libgssapi/gss_wrap_size_limit.3
@@ -28,8 +28,8 @@
.\"
.\" The following commands are required for all man pages.
.Dd January 26, 2010
-.Os
.Dt GSS_WRAP_SIZE_LIMIT 3 PRM
+.Os
.Sh NAME
.Nm gss_wrap_size_limit
.Nd Determine maximum message sizes
diff --git a/lib/libmemstat/libmemstat.3 b/lib/libmemstat/libmemstat.3
index 82ec53abee67..9a4877b0aa73 100644
--- a/lib/libmemstat/libmemstat.3
+++ b/lib/libmemstat/libmemstat.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd June 27, 2005
-.Os
.Dt LIBMEMSTAT 3
+.Os
.Sh NAME
.Nm libmemstat
.Nd "library interface to retrieve kernel memory allocator statistics"
diff --git a/lib/libpmc/pmc.3 b/lib/libpmc/pmc.3
index f48fe7985e97..5e3236baf9bc 100644
--- a/lib/libpmc/pmc.3
+++ b/lib/libpmc/pmc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2008
-.Os
.Dt PMC 3
+.Os
.Sh NAME
.Nm pmc
.Nd library for accessing hardware performance monitoring counters
diff --git a/lib/libpmc/pmc.atom.3 b/lib/libpmc/pmc.atom.3
index bd081f9d27aa..a54d1db2b1cd 100644
--- a/lib/libpmc/pmc.atom.3
+++ b/lib/libpmc/pmc.atom.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 12, 2008
-.Os
.Dt PMC.ATOM 3
+.Os
.Sh NAME
.Nm pmc.atom
.Nd measurement events for
diff --git a/lib/libpmc/pmc.core.3 b/lib/libpmc/pmc.core.3
index 3c97e0925941..3feadaef2c5f 100644
--- a/lib/libpmc/pmc.core.3
+++ b/lib/libpmc/pmc.core.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 12, 2008
-.Os
.Dt PMC.CORE 3
+.Os
.Sh NAME
.Nm pmc.core
.Nd measurement events for
diff --git a/lib/libpmc/pmc.core2.3 b/lib/libpmc/pmc.core2.3
index 41c16750d625..3dbc0c850e5f 100644
--- a/lib/libpmc/pmc.core2.3
+++ b/lib/libpmc/pmc.core2.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd June 8, 2009
-.Os
.Dt PMC.CORE2 3
+.Os
.Sh NAME
.Nm pmc.core2
.Nd measurement events for
diff --git a/lib/libpmc/pmc.corei7.3 b/lib/libpmc/pmc.corei7.3
index 1a8b9d9d4195..f90b0d3ead86 100644
--- a/lib/libpmc/pmc.corei7.3
+++ b/lib/libpmc/pmc.corei7.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.COREI7 3
+.Os
.Sh NAME
.Nm pmc.corei7
.Nd measurement events for
diff --git a/lib/libpmc/pmc.corei7uc.3 b/lib/libpmc/pmc.corei7uc.3
index 2c1b3dde07f5..fc3435b698a3 100644
--- a/lib/libpmc/pmc.corei7uc.3
+++ b/lib/libpmc/pmc.corei7uc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.COREI7UC 3
+.Os
.Sh NAME
.Nm pmc.corei7uc
.Nd uncore measurement events for
diff --git a/lib/libpmc/pmc.iaf.3 b/lib/libpmc/pmc.iaf.3
index c6d01eaaa721..ec9f21cb2761 100644
--- a/lib/libpmc/pmc.iaf.3
+++ b/lib/libpmc/pmc.iaf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 14, 2008
-.Os
.Dt PMC.IAF 3
+.Os
.Sh NAME
.Nm pmc.iaf
.Nd measurement events for
diff --git a/lib/libpmc/pmc.k7.3 b/lib/libpmc/pmc.k7.3
index 8db9020dead8..2775d4fd922b 100644
--- a/lib/libpmc/pmc.k7.3
+++ b/lib/libpmc/pmc.k7.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.K7 3
+.Os
.Sh NAME
.Nm pmc.k7
.Nd measurement events for
diff --git a/lib/libpmc/pmc.k8.3 b/lib/libpmc/pmc.k8.3
index 3e4afb1ff5b2..995bfac958a3 100644
--- a/lib/libpmc/pmc.k8.3
+++ b/lib/libpmc/pmc.k8.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.K8 3
+.Os
.Sh NAME
.Nm pmc.k8
.Nd measurement events for
diff --git a/lib/libpmc/pmc.p4.3 b/lib/libpmc/pmc.p4.3
index ecfc6287db8c..e13fa6ec5ea4 100644
--- a/lib/libpmc/pmc.p4.3
+++ b/lib/libpmc/pmc.p4.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.P4 3
+.Os
.Sh NAME
.Nm pmc.p4
.Nd measurement events for
diff --git a/lib/libpmc/pmc.p5.3 b/lib/libpmc/pmc.p5.3
index 2930f16caacc..36ab917dc256 100644
--- a/lib/libpmc/pmc.p5.3
+++ b/lib/libpmc/pmc.p5.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC 3
+.Os
.Sh NAME
.Nm pmc
.Nd library for accessing hardware performance monitoring counters
diff --git a/lib/libpmc/pmc.p6.3 b/lib/libpmc/pmc.p6.3
index 15a1101bf67b..d8cde6427b66 100644
--- a/lib/libpmc/pmc.p6.3
+++ b/lib/libpmc/pmc.p6.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.P6 3
+.Os
.Sh NAME
.Nm pmc.p6
.Nd measurement events for
diff --git a/lib/libpmc/pmc.tsc.3 b/lib/libpmc/pmc.tsc.3
index 3dd0b8859caa..144ff35c3f05 100644
--- a/lib/libpmc/pmc.tsc.3
+++ b/lib/libpmc/pmc.tsc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd October 4, 2008
-.Os
.Dt PMC.TSC 3
+.Os
.Sh NAME
.Nm pmc.tsc
.Nd measurements using the i386 timestamp counter
diff --git a/lib/libpmc/pmc.ucf.3 b/lib/libpmc/pmc.ucf.3
index c8f2468cdf8a..230a11085787 100644
--- a/lib/libpmc/pmc.ucf.3
+++ b/lib/libpmc/pmc.ucf.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 30, 2010
-.Os
.Dt PMC.UCF 3
+.Os
.Sh NAME
.Nm pmc.ucf
.Nd measurement events for
diff --git a/lib/libpmc/pmc.westmere.3 b/lib/libpmc/pmc.westmere.3
index 0b87e50230af..98adce6f3af1 100644
--- a/lib/libpmc/pmc.westmere.3
+++ b/lib/libpmc/pmc.westmere.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.WESTMERE 3
+.Os
.Sh NAME
.Nm pmc.westmere
.Nd measurement events for
diff --git a/lib/libpmc/pmc.westmereuc.3 b/lib/libpmc/pmc.westmereuc.3
index c5fd12dfa66c..c77ef9bfa48c 100644
--- a/lib/libpmc/pmc.westmereuc.3
+++ b/lib/libpmc/pmc.westmereuc.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 24, 2010
-.Os
.Dt PMC.WESTMEREUC 3
+.Os
.Sh NAME
.Nm pmc.westmere
.Nd uncore measurement events for
diff --git a/lib/libpmc/pmc_allocate.3 b/lib/libpmc/pmc_allocate.3
index 03f907811a72..6a2a6c0d0f07 100644
--- a/lib/libpmc/pmc_allocate.3
+++ b/lib/libpmc/pmc_allocate.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_ALLOCATE 3
+.Os
.Sh NAME
.Nm pmc_allocate ,
.Nm pmc_release
diff --git a/lib/libpmc/pmc_attach.3 b/lib/libpmc/pmc_attach.3
index be340a775985..ca725112b0b3 100644
--- a/lib/libpmc/pmc_attach.3
+++ b/lib/libpmc/pmc_attach.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_ATTACH 3
+.Os
.Sh NAME
.Nm pmc_attach ,
.Nm pmc_detach
diff --git a/lib/libpmc/pmc_capabilities.3 b/lib/libpmc/pmc_capabilities.3
index 0d1a99dd6023..6aee17f8bfb6 100644
--- a/lib/libpmc/pmc_capabilities.3
+++ b/lib/libpmc/pmc_capabilities.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_CAPABILITIES 3
+.Os
.Sh NAME
.Nm pmc_capabilities ,
.Nm pmc_cpuinfo ,
diff --git a/lib/libpmc/pmc_configure_logfile.3 b/lib/libpmc/pmc_configure_logfile.3
index 95c6c28d4382..a33688c222c0 100644
--- a/lib/libpmc/pmc_configure_logfile.3
+++ b/lib/libpmc/pmc_configure_logfile.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2007
-.Os
.Dt PMC_CONFIGURE_LOGFILE 3
+.Os
.Sh NAME
.Nm pmc_configure_logfile ,
.Nm pmc_flush_logfile ,
diff --git a/lib/libpmc/pmc_disable.3 b/lib/libpmc/pmc_disable.3
index cd837d3a0757..a6902ffd463f 100644
--- a/lib/libpmc/pmc_disable.3
+++ b/lib/libpmc/pmc_disable.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_ENABLE 3
+.Os
.Sh NAME
.Nm pmc_disable ,
.Nm pmc_enable
diff --git a/lib/libpmc/pmc_event_names_of_class.3 b/lib/libpmc/pmc_event_names_of_class.3
index fc1c63c3120e..5b2c89d1b800 100644
--- a/lib/libpmc/pmc_event_names_of_class.3
+++ b/lib/libpmc/pmc_event_names_of_class.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 23, 2007
-.Os
.Dt PMC_EVENT_NAMES_OF_CLASS 3
+.Os
.Sh NAME
.Nm pmc_event_names_of_class
.Nd return a list of event names supported by a PMC class.
diff --git a/lib/libpmc/pmc_get_driver_stats.3 b/lib/libpmc/pmc_get_driver_stats.3
index d8bfe233b60e..fa214b321a30 100644
--- a/lib/libpmc/pmc_get_driver_stats.3
+++ b/lib/libpmc/pmc_get_driver_stats.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_GET_DRIVER_STATS 3
+.Os
.Sh NAME
.Nm pmc_get_driver_stats
.Nd retrieve driver statistics
diff --git a/lib/libpmc/pmc_get_msr.3 b/lib/libpmc/pmc_get_msr.3
index 6a2b94274bdd..6361d3adab2d 100644
--- a/lib/libpmc/pmc_get_msr.3
+++ b/lib/libpmc/pmc_get_msr.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_GET_MSR 3
+.Os
.Sh NAME
.Nm pmc_get_msr
.Nd x86 architecture-specific PMC operations
diff --git a/lib/libpmc/pmc_init.3 b/lib/libpmc/pmc_init.3
index 5113b4aa9515..655bfb6f78b0 100644
--- a/lib/libpmc/pmc_init.3
+++ b/lib/libpmc/pmc_init.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2007
-.Os
.Dt PMC_INIT 3
+.Os
.Sh NAME
.Nm pmc_init
.Nd initialize library
diff --git a/lib/libpmc/pmc_name_of_capability.3 b/lib/libpmc/pmc_name_of_capability.3
index 53ddfdf90757..78efeafd6ac7 100644
--- a/lib/libpmc/pmc_name_of_capability.3
+++ b/lib/libpmc/pmc_name_of_capability.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 24, 2007
-.Os
.Dt PMC_NAME_OF_CAPABILITY 3
+.Os
.Sh NAME
.Nm pmc_name_of_capability ,
.Nm pmc_name_of_class ,
diff --git a/lib/libpmc/pmc_read.3 b/lib/libpmc/pmc_read.3
index d9fa3ce8b9c2..8d718ca3fd15 100644
--- a/lib/libpmc/pmc_read.3
+++ b/lib/libpmc/pmc_read.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_READ 3
+.Os
.Sh NAME
.Nm pmc_read ,
.Nm pmc_rw ,
diff --git a/lib/libpmc/pmc_set.3 b/lib/libpmc/pmc_set.3
index a9e438af9dfe..e8d65971dd29 100644
--- a/lib/libpmc/pmc_set.3
+++ b/lib/libpmc/pmc_set.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd November 25, 2007
-.Os
.Dt PMC_SET 3
+.Os
.Sh NAME
.Nm pmc_set
.Nd set the reload count of a sampling PMC
diff --git a/lib/libpmc/pmc_start.3 b/lib/libpmc/pmc_start.3
index 7fb474a18bfc..2272122dd19b 100644
--- a/lib/libpmc/pmc_start.3
+++ b/lib/libpmc/pmc_start.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd September 22, 2008
-.Os
.Dt PMC_START 3
+.Os
.Sh NAME
.Nm pmc_start ,
.Nm pmc_stop
diff --git a/lib/libpmc/pmclog.3 b/lib/libpmc/pmclog.3
index 688445a4524a..4438f106d0bc 100644
--- a/lib/libpmc/pmclog.3
+++ b/lib/libpmc/pmclog.3
@@ -24,8 +24,8 @@
.\" $FreeBSD$
.\"
.Dd March 26, 2006
-.Os
.Dt PMCLOG 3
+.Os
.Sh NAME
.Nm pmclog_open ,
.Nm pmclog_close ,
diff --git a/lib/libthr/libthr.3 b/lib/libthr/libthr.3
index 87e5e6475d7a..696da17bdcb0 100644
--- a/lib/libthr/libthr.3
+++ b/lib/libthr/libthr.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd October 19, 2007
-.Os
.Dt LIBTHR 3
+.Os
.Sh NAME
.Nm libthr
.Nd "1:1 POSIX threads library"
diff --git a/lib/libugidfw/bsde_get_rule.3 b/lib/libugidfw/bsde_get_rule.3
index a3b6691eaa9a..1f37b62613dc 100644
--- a/lib/libugidfw/bsde_get_rule.3
+++ b/lib/libugidfw/bsde_get_rule.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd February 24, 2004
-.Os
.Dt BSDE_GET_RULE 3
+.Os
.Sh NAME
.Nm bsde_add_rule ,
.Nm bsde_get_rule ,
diff --git a/lib/libugidfw/bsde_get_rule_count.3 b/lib/libugidfw/bsde_get_rule_count.3
index bf441e150d9c..2ca965f8fd40 100644
--- a/lib/libugidfw/bsde_get_rule_count.3
+++ b/lib/libugidfw/bsde_get_rule_count.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2003
-.Os
.Dt BSDE_GET_RULE_COUNT 3
+.Os
.Sh NAME
.Nm bsde_get_rule_count ,
.Nm bsde_get_rule_slots
diff --git a/lib/libugidfw/bsde_parse_rule.3 b/lib/libugidfw/bsde_parse_rule.3
index d510cab26a2e..4b177af22ed0 100644
--- a/lib/libugidfw/bsde_parse_rule.3
+++ b/lib/libugidfw/bsde_parse_rule.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2003
-.Os
.Dt BSDE_PARSE_RULE 3
+.Os
.Sh NAME
.Nm bsde_parse_rule ,
.Nm bsde_parse_rule_string
diff --git a/lib/libugidfw/bsde_rule_to_string.3 b/lib/libugidfw/bsde_rule_to_string.3
index 44144069a524..6279dcfa3711 100644
--- a/lib/libugidfw/bsde_rule_to_string.3
+++ b/lib/libugidfw/bsde_rule_to_string.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd January 7, 2003
-.Os
.Dt BSDE_RULE_TO_STRING 3
+.Os
.Sh NAME
.Nm bsde_rule_to_string
.Nd "convert a ugidfw rule into its text representation"
diff --git a/lib/libugidfw/libugidfw.3 b/lib/libugidfw/libugidfw.3
index 3ff407c1609b..42d23c680392 100644
--- a/lib/libugidfw/libugidfw.3
+++ b/lib/libugidfw/libugidfw.3
@@ -31,8 +31,8 @@
.\" $FreeBSD$
.\"
.Dd February 25, 2004
-.Os
.Dt LIBUGIDFW 3
+.Os
.Sh NAME
.Nm libugidfw
.Nd "library interface to the file system firewall MAC policy"
diff --git a/lib/libulog/ulog_login.3 b/lib/libulog/ulog_login.3
index ec397c8c0cd9..451a4f7a31fa 100644
--- a/lib/libulog/ulog_login.3
+++ b/lib/libulog/ulog_login.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 5, 2009
-.Os
.Dt ULOG_LOGIN 3
+.Os
.Sh NAME
.Nm ulog_login ,
.Nm ulog_login_pseudo ,
diff --git a/lib/libulog/utempter_add_record.3 b/lib/libulog/utempter_add_record.3
index 1553d68c26b1..cd8e8f1e69fb 100644
--- a/lib/libulog/utempter_add_record.3
+++ b/lib/libulog/utempter_add_record.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd December 6, 2009
-.Os
.Dt UTEMPTER_ADD_RECORD 3
+.Os
.Sh NAME
.Nm utempter_add_record ,
.Nm utempter_remove_added_record ,
diff --git a/lib/libutil/_secure_path.3 b/lib/libutil/_secure_path.3
index fe23d12b2b9f..cf89315a89e0 100644
--- a/lib/libutil/_secure_path.3
+++ b/lib/libutil/_secure_path.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd May 2, 1997
-.Os
.Dt _SECURE_PATH 3
+.Os
.Sh NAME
.Nm _secure_path
.Nd determine if a file appears to be secure
diff --git a/lib/libutil/auth.3 b/lib/libutil/auth.3
index 3a1bb4dd4dbf..247a09859141 100644
--- a/lib/libutil/auth.3
+++ b/lib/libutil/auth.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd October 7, 1998
-.Os
.Dt AUTH_GETVAL 3
+.Os
.Sh NAME
.Nm auth_getval
.Nd functions for reading values from
diff --git a/lib/libutil/hexdump.3 b/lib/libutil/hexdump.3
index cc004f61bb33..8e997ac24b4d 100644
--- a/lib/libutil/hexdump.3
+++ b/lib/libutil/hexdump.3
@@ -29,8 +29,8 @@
.\" $FreeBSD$
.\"
.Dd July 1, 2008
-.Os
.Dt HEXDUMP 3
+.Os
.Sh NAME
.Nm hexdump
.Nd "dump a block of bytes to standard out in hexadecimal form"
diff --git a/lib/libutil/kinfo_getfile.3 b/lib/libutil/kinfo_getfile.3
index 5705bf774d68..c0b0b0220215 100644
--- a/lib/libutil/kinfo_getfile.3
+++ b/lib/libutil/kinfo_getfile.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 6, 2008
-.Os
.Dt KINFO_GETFILE 3
+.Os
.Sh NAME
.Nm kinfo_getfile
.Nd function for getting per-process file descriptor information
diff --git a/lib/libutil/kinfo_getvmmap.3 b/lib/libutil/kinfo_getvmmap.3
index 0f12b675ac3d..7aa46fc102e0 100644
--- a/lib/libutil/kinfo_getvmmap.3
+++ b/lib/libutil/kinfo_getvmmap.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd December 6, 2008
-.Os
.Dt KINFO_GETVMMAP 3
+.Os
.Sh NAME
.Nm kinfo_getvmmap
.Nd function for getting per-process memory map information
diff --git a/lib/libutil/kld.3 b/lib/libutil/kld.3
index cc34fa1a0406..6b77c47fc0db 100644
--- a/lib/libutil/kld.3
+++ b/lib/libutil/kld.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\"
.Dd February 18, 2006
-.Os
.Dt KLD 3
+.Os
.Sh NAME
.Nm kld_isloaded ,
.Nm kld_load
diff --git a/lib/libutil/login_auth.3 b/lib/libutil/login_auth.3
index 3750bd69182b..003f6e92ac02 100644
--- a/lib/libutil/login_auth.3
+++ b/lib/libutil/login_auth.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd December 29, 1996
-.Os
.Dt LOGIN_AUTH 3
+.Os
.Sh NAME
.\" .Nm authenticate
.\" .Nm auth_script
diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3
index 7ecefffb2a3e..bdab56eba50a 100644
--- a/lib/libutil/login_cap.3
+++ b/lib/libutil/login_cap.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd June 14, 2007
-.Os
.Dt LOGIN_CAP 3
+.Os
.Sh NAME
.Nm login_close ,
.Nm login_getcapbool ,
diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3
index 75ccccc14499..083e94289d14 100644
--- a/lib/libutil/login_class.3
+++ b/lib/libutil/login_class.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd October 20, 2008
-.Os
.Dt LOGIN_CLASS 3
+.Os
.Sh NAME
.Nm setclasscontext ,
.Nm setclasscpumask ,
diff --git a/lib/libutil/login_ok.3 b/lib/libutil/login_ok.3
index 1bb6236c243b..9022ff55d3a2 100644
--- a/lib/libutil/login_ok.3
+++ b/lib/libutil/login_ok.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd January 2, 1997
-.Os
.Dt LOGIN_OK 3
+.Os
.Sh NAME
.Nm auth_ttyok ,
.Nm auth_hostok ,
diff --git a/lib/libutil/login_times.3 b/lib/libutil/login_times.3
index a1444843d42b..9d1f88d858c2 100644
--- a/lib/libutil/login_times.3
+++ b/lib/libutil/login_times.3
@@ -20,8 +20,8 @@
.\" $FreeBSD$
.\"
.Dd October 20, 2008
-.Os
.Dt LOGIN_TIMES 3
+.Os
.Sh NAME
.Nm parse_lt ,
.Nm in_lt ,
diff --git a/lib/libutil/login_tty.3 b/lib/libutil/login_tty.3
index 6303d685e034..907b97cd5cf7 100644
--- a/lib/libutil/login_tty.3
+++ b/lib/libutil/login_tty.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd December 29, 1996
-.Os
.Dt LOGIN_TTY 3
+.Os
.Sh NAME
.Nm login_tty
.Nd prepare a tty for a new login session
diff --git a/lib/libutil/property.3 b/lib/libutil/property.3
index 61eb15399098..51f7e14928f5 100644
--- a/lib/libutil/property.3
+++ b/lib/libutil/property.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd October 7, 1998
-.Os
.Dt PROPERTIES 3
+.Os
.Sh NAME
.Nm properties_read ,
.Nm propery_find ,
diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3
index 08a5985b6841..f71cc5323d72 100644
--- a/lib/libutil/pty.3
+++ b/lib/libutil/pty.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd December 29, 1996
-.Os
.Dt PTY 3
+.Os
.Sh NAME
.Nm openpty ,
.Nm forkpty
diff --git a/lib/libutil/realhostname.3 b/lib/libutil/realhostname.3
index fd64d4c6966e..9f5a6c5ddc6e 100644
--- a/lib/libutil/realhostname.3
+++ b/lib/libutil/realhostname.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd April 6, 1999
-.Os
.Dt REALHOSTNAME 3
+.Os
.Sh NAME
.Nm realhostname
.Nd "convert an IP number to the real host name"
diff --git a/lib/libutil/realhostname_sa.3 b/lib/libutil/realhostname_sa.3
index 9f7f0dfb0224..3fd44a442b11 100644
--- a/lib/libutil/realhostname_sa.3
+++ b/lib/libutil/realhostname_sa.3
@@ -52,8 +52,8 @@
.\" $FreeBSD$
.\"
.Dd January 11, 2000
-.Os
.Dt REALHOSTNAME_SA 3
+.Os
.Sh NAME
.Nm realhostname_sa
.Nd "convert a"
diff --git a/lib/libutil/trimdomain.3 b/lib/libutil/trimdomain.3
index f01e884e7870..8d600c019213 100644
--- a/lib/libutil/trimdomain.3
+++ b/lib/libutil/trimdomain.3
@@ -25,8 +25,8 @@
.\" $FreeBSD$
.\"
.Dd April 7, 1999
-.Os
.Dt TRIMDOMAIN 3
+.Os
.Sh NAME
.Nm trimdomain
.Nd "trim the current domain name from a host name"
diff --git a/lib/libutil/uucplock.3 b/lib/libutil/uucplock.3
index 5f75c7f94e99..5d8647d03191 100644
--- a/lib/libutil/uucplock.3
+++ b/lib/libutil/uucplock.3
@@ -26,8 +26,8 @@
.\" $FreeBSD$
.\" "
.Dd March 30, 1997
-.Os
.Dt UUCPLOCK 3
+.Os
.Sh NAME
.Nm uu_lock ,
.Nm uu_unlock ,