From 7a6b3357af7f5a9b8b4d25746570948a2f73d9a4 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Thu, 15 Feb 1996 21:48:54 +0000 Subject: [PATCH] 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. --- lib/libc/gen/fts.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index dde076d08a0..630a5b2c64e 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -42,7 +42,7 @@ .Fd #include .Fd #include .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.