aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-05-29 17:45:10 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-05-29 17:45:10 +0000
commitdce6aff90b13f30fcb4c1fa263868607ccda8041 (patch)
treef8a2487d349900c24091d702727a16a2b196a5f9
parentb2b95249ae0e24a6e24ad4286da56f1aff7a6db0 (diff)
fts: Improve the description of FTS_NOSTAT
Note that we still need to stat directories and the roots. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D57325
-rw-r--r--lib/libc/gen/fts.39
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index 199603b5f3c7..b6dbfffe8079 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 21, 2026
+.Dd May 29, 2026
.Dt FTS 3
.Os
.Sh NAME
@@ -497,6 +497,13 @@ field to
and leave the contents of the
.Fa statp
field undefined.
+The roots and any directories encountered during traversal
+.Po
+.Dv FTS_D ,
+.Dv FTS_DC ,
+.Dv FTS_DP
+.Pc
+are still fully populated.
.It Dv FTS_NOSTAT_TYPE
This option is similar to
.Dv FTS_NOSTAT ,