summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-03-11 11:11:37 +0000
committerpeter <peter@FreeBSD.org>1997-03-11 11:11:37 +0000
commit79c7d6aa06fd19b58c1804976c8722595604817b (patch)
treecf5c7aa5031bef51c9f38f751e1f075b17e2c16c /lib
parentf1a22bd4be055388029e3427ffd7262905915724 (diff)
downloadFreeBSD-src-79c7d6aa06fd19b58c1804976c8722595604817b.zip
FreeBSD-src-79c7d6aa06fd19b58c1804976c8722595604817b.tar.gz
Import CSRG 4.4BSD-Lite2 includes onto vendor branch
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/fts-compat.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/gen/fts-compat.h b/lib/libc/gen/fts-compat.h
index 84dbe14..4fa4a3a 100644
--- a/lib/libc/gen/fts-compat.h
+++ b/lib/libc/gen/fts-compat.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)fts.h 8.1 (Berkeley) 6/2/93
+ * @(#)fts.h 8.3 (Berkeley) 8/14/94
*/
#ifndef _FTS_H_
@@ -54,10 +54,11 @@ typedef struct {
#define FTS_PHYSICAL 0x010 /* physical walk */
#define FTS_SEEDOT 0x020 /* return dot and dot-dot */
#define FTS_XDEV 0x040 /* don't cross devices */
-#define FTS_OPTIONMASK 0x07f /* valid user option mask */
+#define FTS_WHITEOUT 0x080 /* return whiteout information */
+#define FTS_OPTIONMASK 0x0ff /* valid user option mask */
-#define FTS_NAMEONLY 0x080 /* (private) child names only */
-#define FTS_STOP 0x100 /* (private) unrecoverable error */
+#define FTS_NAMEONLY 0x100 /* (private) child names only */
+#define FTS_STOP 0x200 /* (private) unrecoverable error */
int fts_options; /* fts_open options, global flags */
} FTS;
@@ -95,10 +96,12 @@ typedef struct _ftsent {
#define FTS_NSOK 11 /* no stat(2) requested */
#define FTS_SL 12 /* symbolic link */
#define FTS_SLNONE 13 /* symbolic link without target */
+#define FTS_W 14 /* whiteout object */
u_short fts_info; /* user flags for FTSENT structure */
#define FTS_DONTCHDIR 0x01 /* don't chdir .. to the parent */
#define FTS_SYMFOLLOW 0x02 /* followed a symlink to get here */
+#define FTS_ISW 0x04 /* this is a whiteout object */
u_short fts_flags; /* private flags for FTSENT structure */
#define FTS_AGAIN 1 /* read node again */
OpenPOWER on IntegriCloud