diff options
author | 2015-02-28 21:51:56 +0000 | |
---|---|---|
committer | 2015-02-28 21:51:56 +0000 | |
commit | 9dbd696514ef94fc24ee622023bb055d94c78640 (patch) | |
tree | cc83a924c252f976523f2306273efaa262692a9c /lib/libc/gen | |
parent | Move consinit() out of the bowels of the zs driver to its own file, in (diff) | |
download | wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.tar.xz wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.zip |
Reduce usage of predefined strings in manpages.
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/scandir.3 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3 index c2714e6799a..ae26b417ddb 100644 --- a/lib/libc/gen/scandir.3 +++ b/lib/libc/gen/scandir.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: scandir.3,v 1.13 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: scandir.3,v 1.14 2015/02/28 21:51:57 bentley Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: February 28 2015 $ .Dt SCANDIR 3 .Os .Sh NAME @@ -38,7 +38,12 @@ .In sys/types.h .In dirent.h .Ft int -.Fn scandir "const char *dirname" "struct dirent ***namelist" "int \*(lp*select\*(rp\*(lpconst struct dirent *\*(rp" "int \*(lp*compar\*(rp\*(lpconst struct dirent **, const struct dirent **\*(rp" +.Fo scandir +.Fa "const char *dirname" +.Fa "struct dirent ***namelist" +.Fa "int (*select)(const struct dirent *)" +.Fa "int (*compar)(const struct dirent **, const struct dirent **)" +.Fc .Ft int .Fn alphasort "const struct dirent **d1" "const struct dirent **d2" .Sh DESCRIPTION |