summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-01 02:48:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-01 02:48:47 +0000
commitc70eb73f84e00b41ce86994c2761c3e28b7f1fbd (patch)
treee57f7eb82a3fef27cb4f3cac2a0ec20f699ab2de /lib/libc
parentdebdcf8d7d06fd4e90452a13394126429ce16fd6 (diff)
Document FTS_CHDIRROOT somewhat. Could be better.
Diffstat (limited to 'lib/libc')
-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