git: 77fdeba18c07 - main - fts: Correct description of fts_set
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jun 2026 16:47:17 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=77fdeba18c07e243ea1e20916ee0dc31b9d6ac32
commit 77fdeba18c07e243ea1e20916ee0dc31b9d6ac32
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-06-05 16:46:49 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-05 16:47:14 +0000
fts: Correct description of fts_set
MFC after: 1 week
Sponsored by: Klara, Inc.
Fixes: e030e4e73fe7 ("lib/libc/gen/fts.3: use 'options' consistently in fts_set() description")
Differential Revision: https://reviews.freebsd.org/D57326
---
lib/libc/gen/fts.3 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index b6dbfffe8079..8d46d3a6b01f 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -44,7 +44,7 @@
.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 instr"
.Ft void
.Fn fts_set_clientptr "FTS *ftsp" "void *clientdata"
.Ft void *
@@ -745,8 +745,9 @@ The
.Fn fts_set
function
returns 0 on success, and \-1 if an error occurs.
-.Em Option
-must be set to one of the following values:
+Its
+.Fa instr
+argument must have one of the following values:
.Bl -tag -width FTS_PHYSICAL
.It Dv FTS_AGAIN
Re-visit the file; any file type may be re-visited.
@@ -900,7 +901,7 @@ to an appropriate non-zero value.
The
.Fn fts_set
function returns 0 on success and \-1 if its
-.Fa options
+.Fa instr
argument is invalid.
.Pp
The