summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-03-18 20:34:01 +0000
committerjilles <jilles@FreeBSD.org>2012-03-18 20:34:01 +0000
commit4ddc90a0c85819c296d093a9dd9c0712fca34f22 (patch)
treebbdc40b24ccc2c1bc6e1b0dd33138ea95ca572d9 /lib
parenta4e442e5d24331957da8aaea4165e07bc864e1a0 (diff)
downloadFreeBSD-src-4ddc90a0c85819c296d093a9dd9c0712fca34f22.zip
FreeBSD-src-4ddc90a0c85819c296d093a9dd9c0712fca34f22.tar.gz
fts(3): Document cases where FTS_NOCHDIR is set implicitly.
PR: docs/166091 Submitted by: Matthew Story MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/fts.312
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index 4b05157..d34b61b 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -28,7 +28,7 @@
.\" @(#)fts.3 8.5 (Berkeley) 4/16/94
.\" $FreeBSD$
.\"
-.Dd November 25, 2009
+.Dd March 18, 2012
.Dt FTS 3
.Os
.Sh NAME
@@ -798,3 +798,13 @@ functions were introduced in
principally to provide for alternative interfaces to the
.Nm
functionality using different data structures.
+.Sh BUGS
+The
+.Fn fts_open
+function will automatically set the
+.Dv FTS_NOCHDIR
+option if the
+.Dv FTS_LOGICAL
+option is provided, or if it cannot
+.Xr open 2
+the current directory.
OpenPOWER on IntegriCloud