summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-03-21 21:36:37 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-03-21 21:36:37 +0000
commitadb08b99bcf0a4ee3073cde27d77e42764a767da (patch)
tree906c855c0734fe60233a4d9d73e3cca8f7970dc4 /lib
parente306adbb9ff5a6d0c82e8d1410d32cb80db684a1 (diff)
Fix two typos in fts(3). NetBSD PR#3364 and NetBSD PR#3368
from Enami Tsugutomo.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/fts.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index 72cbb423f1e..72fc0fa6c29 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fts.3,v 1.2 1996/08/19 08:22:57 tholo Exp $
+.\" $OpenBSD: fts.3,v 1.3 1997/03/21 21:36:36 millert Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -31,6 +31,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
+.\" @(#)fts.3 8.5 (Berkeley) 4/16/94
+.\"
.Dd April 16, 1994
.Dt FTS 3
.Os
@@ -42,13 +44,13 @@
.Fd #include <sys/stat.h>
.Fd #include <fts.h>
.Ft FTS *
-.Fn fts_open "char * const *path_argv" "int options" "int *compar(const FTSENT **, const FTSENT **)"
+.Fn fts_open "char * const *path_argv" "int options" "int (*compar)(const FTSENT **, const FTSENT **)"
.Ft FTSENT *
.Fn fts_read "FTS *ftsp"
.Ft FTSENT *
.Fn fts_children "FTS *ftsp" "int options"
.Ft int
-.Fn fts_set "FTS ftsp" "FTSENT *f" "int options"
+.Fn fts_set "FTS *ftsp" "FTSENT *f" "int options"
.Ft int
.Fn fts_close "FTS *ftsp"
.Sh DESCRIPTION