diff options
author | Peter Wemm <peter@FreeBSD.org> | 1997-03-11 11:11:37 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1997-03-11 11:11:37 +0000 |
commit | 0b7ae03c1ad563a13f7656beb72d5d5ca5e459f0 (patch) | |
tree | aaf2bf05cc862ecd76401a0634eabca4e1ecacf6 | |
parent | f7c9eeddef887afd5a88a951c58702b0c19d670a (diff) |
Import CSRG 4.4BSD-Lite2 includes onto vendor branch
Notes
Notes:
svn path=/head/; revision=23650
-rw-r--r-- | lib/libc/gen/fts-compat.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/gen/fts-compat.h b/lib/libc/gen/fts-compat.h index 84dbe14bc792..4fa4a3aa0ded 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 */ |