summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/fts.3
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1996-02-15 21:48:54 +0000
committerjdp <jdp@FreeBSD.org>1996-02-15 21:48:54 +0000
commit7ceddc5a30f19f0d414601d3122ae82b90aa036f (patch)
tree7998f7d0fb9b958e93dd956229960794a06d8cbf /lib/libc/gen/fts.3
parent6fb166aaa1a648e7d721c66f63178c80b5dbd311 (diff)
downloadFreeBSD-src-7ceddc5a30f19f0d414601d3122ae82b90aa036f.zip
FreeBSD-src-7ceddc5a30f19f0d414601d3122ae82b90aa036f.tar.gz
Corrected a couple of errors in the fts(3) manual page. The prototype
for "fts_open" was wrong. Also, the "fts_info" field of the FTSENT structure was misleadingly described as containing "flags". Actually, it contains a single integer value.
Diffstat (limited to 'lib/libc/gen/fts.3')
-rw-r--r--lib/libc/gen/fts.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index dde076d..630a5b2 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -42,7 +42,7 @@
.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 *
@@ -122,7 +122,7 @@ typedef struct _ftsent {
These fields are defined as follows:
.Bl -tag -width "fts_namelen"
.It Fa fts_info
-One of the following flags describing the returned
+One of the following values describing the returned
.Fa FTSENT
structure and
the file it represents.
OpenPOWER on IntegriCloud