summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/fts.3
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-01 02:48:46 +0000
committermillert <millert@openbsd.org>1997-09-01 02:48:46 +0000
commitb51f0a6b97f12e3ad5d506cb0edc9f8dbc41e5f9 (patch)
treef37de8870a79cec8d95bfe01d9e724493c4f0038 /lib/libc/gen/fts.3
parentFix problem with ``find -execdir'' not having the correct initial cwd. (diff)
downloadwireguard-openbsd-b51f0a6b97f12e3ad5d506cb0edc9f8dbc41e5f9.tar.xz
wireguard-openbsd-b51f0a6b97f12e3ad5d506cb0edc9f8dbc41e5f9.zip
Document FTS_CHDIRROOT somewhat. Could be better.
Diffstat (limited to 'lib/libc/gen/fts.3')
-rw-r--r--lib/libc/gen/fts.38
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index 72fc0fa6c29..212e8037d57 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fts.3,v 1.3 1997/03/21 21:36:36 millert Exp $
+.\" $OpenBSD: fts.3,v 1.4 1997/09/01 02:48:46 millert Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -448,6 +448,12 @@ This option prevents
.Nm fts
from descending into directories that have a different device number
than the file from which the descent began.
+.It Dv FTS_CHDIRROOT
+This option causes
+.Fn fts_read
+to change the current directory to the root of the hierarchy when
+starting a new one. The default is to change to the original
+starting directory.
.El
.Pp
The argument