aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-11-24 18:02:26 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-11-24 18:02:26 +0100
commita00ca3d5a071ff4c17090361a7375d1c620865ea (patch)
tree0abd9ea03f975d0e55ac681268329b6a698e553a
parente4dd2d93aa2faaf357a1f59ec3bfef16dd8906e7 (diff)
downloadman-pages-a00ca3d5a071ff4c17090361a7375d1c620865ea.tar.gz
ftw.3: FTW_CHDIR has no effect on the 'fpath' argument passed to fn()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/ftw.34
1 files changed, 4 insertions, 0 deletions
diff --git a/man3/ftw.3 b/man3/ftw.3
index d7ef303646..e37cb56162 100644
--- a/man3/ftw.3
+++ b/man3/ftw.3
@@ -224,6 +224,10 @@ If set, do a
to each directory before handling its contents.
This is useful if the program needs to perform some action
in the directory in which \fIfpath\fP resides.
+(Specifying this flag has no effect on the pathname that is passed in the
+.I fpath
+argument of
+.IR fn .)
.TP
.B FTW_DEPTH
If set, do a post-order traversal, that is, call \fIfn\fP() for