summaryrefslogtreecommitdiffstats
path: root/include/fts.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fts.h')
-rw-r--r--include/fts.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/fts.h b/include/fts.h
index 84dbe14..4fa4a3a 100644
--- a/include/fts.h
+++ b/include/fts.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