summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/fts.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/fts.3')
-rw-r--r--lib/libc/gen/fts.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index dde076d..7813665 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)fts.3 8.5 (Berkeley) 4/16/94
+.\" $Id$
.\"
.Dd April 16, 1994
.Dt FTS 3
@@ -42,13 +43,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
@@ -122,7 +123,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