From 9f488f94af105dde38b5bcaa5e787c8f66579965 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 9 May 2011 17:26:15 +0200 Subject: [PATCH] Some manual page cleanup. --- lib/libc/gen/dl_iterate_phdr.3 | 5 ++++- lib/libc/gen/dladdr.3 | 4 ++-- lib/libc/gen/dlclose.3 | 4 ++-- lib/libc/gen/dlerror.3 | 4 ++-- lib/libc/gen/dlfcn.3 | 8 ++++---- lib/libc/gen/dlinfo.3 | 6 +++--- lib/libc/gen/dlopen.3 | 4 ++-- lib/libc/gen/dlsym.3 | 4 ++-- lib/libc/gen/dlvsym.3 | 4 ++-- share/man/man5/loader.conf.5 | 3 +-- share/man/man7/firewall.7 | 5 +---- usr.bin/sort/sort.1 | 2 +- 12 files changed, 26 insertions(+), 27 deletions(-) diff --git a/lib/libc/gen/dl_iterate_phdr.3 b/lib/libc/gen/dl_iterate_phdr.3 index c02b708bd8..239e7d3e16 100644 --- a/lib/libc/gen/dl_iterate_phdr.3 +++ b/lib/libc/gen/dl_iterate_phdr.3 @@ -21,6 +21,9 @@ .Sh NAME .Nm dl_iterate_phdr .Nd iterate over program headers +.Sh LIBRARY +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In link.h .Ft int @@ -106,7 +109,7 @@ The function returns whatever value was returned by the last call to callback. .Sh SEE ALSO .Xr ld 1 , -.Xr ld-elf.so 1 , +.Xr ld-elf.so.2 1 , .Xr dlfcn 3 , .Xr elf 5 .Sh HISTORY diff --git a/lib/libc/gen/dladdr.3 b/lib/libc/gen/dladdr.3 index 80a7b88e95..981fdbad49 100644 --- a/lib/libc/gen/dladdr.3 +++ b/lib/libc/gen/dladdr.3 @@ -32,8 +32,8 @@ .Nm dladdr .Nd find the shared object containing a given address .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft int diff --git a/lib/libc/gen/dlclose.3 b/lib/libc/gen/dlclose.3 index b509cd0645..993600b289 100644 --- a/lib/libc/gen/dlclose.3 +++ b/lib/libc/gen/dlclose.3 @@ -38,8 +38,8 @@ .Nm dlclose .Nd unlink shared object from process address space .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft int diff --git a/lib/libc/gen/dlerror.3 b/lib/libc/gen/dlerror.3 index f2b155a737..fe22f93f78 100644 --- a/lib/libc/gen/dlerror.3 +++ b/lib/libc/gen/dlerror.3 @@ -38,8 +38,8 @@ .Nm dlerror .Nd retrieve dynamic linker error messages .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft char * diff --git a/lib/libc/gen/dlfcn.3 b/lib/libc/gen/dlfcn.3 index a8361ccc29..fd263ce500 100644 --- a/lib/libc/gen/dlfcn.3 +++ b/lib/libc/gen/dlfcn.3 @@ -42,8 +42,8 @@ .Nm dlerror .Nd programmatic interface to the dynamic linker .Sh LIBRARY -(These functions are not in a library. -They are included in every dynamically linked program automatically.) +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft "void *" @@ -67,7 +67,7 @@ They are included in every dynamically linked program automatically.) .Fn dl_iterate_phdr "int (*callback)(struct dl_phdr_info *, size_t, void *)" "void * data" .Sh DESCRIPTION These functions provide an interface to the run-time linker -.Xr ld-elf.so 1 . +.Xr ld-elf.so.2 1 . They allow new shared objects to be loaded into the process' address space under program control. .Sh SEE ALSO @@ -78,7 +78,7 @@ under program control. .Xr dlerror 3 , .Xr dlfunc 3 , .Xr dlinfo 3 , -.Xr dl_iterate_phr 3 , +.Xr dl_iterate_phdr 3 , .Xr dlopen 3 , .Xr dlsym 3 , .Xr dlvsym 3 , diff --git a/lib/libc/gen/dlinfo.3 b/lib/libc/gen/dlinfo.3 index 48595074e6..e96739203b 100644 --- a/lib/libc/gen/dlinfo.3 +++ b/lib/libc/gen/dlinfo.3 @@ -32,8 +32,8 @@ .Nm dlinfo .Nd information about dynamically loaded object .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In link.h .In dlfcn.h @@ -90,7 +90,7 @@ argument. The .Vt Link_map structures are maintained as a doubly linked list by -.Xr ld.so 1 , +.Xr ld-elf.so.2 1 , in the same order as .Xr dlopen 3 and diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 9500ef9d33..8261068962 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -39,8 +39,8 @@ .Nm dlopen .Nd returns handle to dynamically loaded shared object .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft void * diff --git a/lib/libc/gen/dlsym.3 b/lib/libc/gen/dlsym.3 index 1ea6c08ec1..909df49b87 100644 --- a/lib/libc/gen/dlsym.3 +++ b/lib/libc/gen/dlsym.3 @@ -39,8 +39,8 @@ .Nm dlfunc .Nd shared object symbol lookup function .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft void * diff --git a/lib/libc/gen/dlvsym.3 b/lib/libc/gen/dlvsym.3 index 205a758303..247233b6c0 100644 --- a/lib/libc/gen/dlvsym.3 +++ b/lib/libc/gen/dlvsym.3 @@ -38,8 +38,8 @@ .Nm dlsym .Nd shared object symbol lookup by version function .Sh LIBRARY -This function is not in a library. It is included in every dynamically linked -program automatically. +This function is not in a library. +It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h .Ft void * diff --git a/share/man/man5/loader.conf.5 b/share/man/man5/loader.conf.5 index e3079557bb..f814ad69f0 100644 --- a/share/man/man5/loader.conf.5 +++ b/share/man/man5/loader.conf.5 @@ -23,7 +23,6 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/sys/boot/forth/loader.conf.5,v 1.18 2002/08/27 01:02:56 trhodes Exp $ -.\" $DragonFly: src/sys/boot/forth/loader.conf.5,v 1.13 2008/09/15 21:23:44 thomas Exp $ .Dd October 6, 2010 .Dt LOADER.CONF 5 .Os @@ -155,7 +154,7 @@ a bitmap will be loaded to be displayed on screen while booting. Name of the bitmap to be loaded. Any other name can be used. .It Va boot_verbose -.Pq Dq NO +.Pq Dq NO Set to .Dq YES to enable verbose booting. diff --git a/share/man/man7/firewall.7 b/share/man/man7/firewall.7 index f06cfeb992..316ce980ae 100644 --- a/share/man/man7/firewall.7 +++ b/share/man/man7/firewall.7 @@ -204,8 +204,7 @@ ip_portrange_last=5000 # 10. network. This can reduce the load on natd. Also note that we # of course do not have to route internal<->internal traffic through # natd since those hosts know how to route our 10. internal network. -# The natd command we run from /etc/rc.local is shown below. See -# also the in-kernel version of natd, ipnat. +# The natd command we run from /etc/rc.local is shown below. # # natd -s -u -a 208.161.114.67 # @@ -354,13 +353,11 @@ to indirectly bind services that do not otherwise give you the option. .Sh SEE ALSO .Xr dummynet 4 , .Xr ipfw 4 , -.Xr ipnat 5 , .Xr rc.conf 5 , .Xr smb.conf 5 Pq Pa pkgsrc/net/samba , .Xr samba 7 Pq Pa pkgsrc/net/samba , .Xr config 8 , .Xr ipfw 8 , -.Xr ipnat 8 , .Xr jail 8 , .Xr natd 8 , .Xr nfsd 8 diff --git a/usr.bin/sort/sort.1 b/usr.bin/sort/sort.1 index 18b4ea2993..c354f32b20 100644 --- a/usr.bin/sort/sort.1 +++ b/usr.bin/sort/sort.1 @@ -66,7 +66,7 @@ .Nm sort .Nd sort or merge text files .Sh SYNOPSIS -.Nm sort +.Nm .Op Fl bcdfHilmnrSsu .Oo .Fl k -- 2.41.0