aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-06-05 16:46:49 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-06-05 16:47:14 +0000
commit77fdeba18c07e243ea1e20916ee0dc31b9d6ac32 (patch)
treef462b6732bbffd8f50b01cbb00e47bfa4fb48f75
parent2ea49bb595df216f4374d5e1035ab2c818d3ceef (diff)
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
-rw-r--r--lib/libc/gen/fts.39
1 files 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