diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-05-08 16:28:51 +0200 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-05-08 16:29:15 +0200 |
| commit | da2025a0e89455fb646b542b53d5a4ddaa2acbe0 (patch) | |
| tree | 88dbadb62301517fe5531b27d29df2a8845dc7f9 /include | |
| parent | bdc2ed1cf47ccf9a03b69f467e4406a4d437234b (diff) | |
fts: Add FTS_COMFOLLOWDIR and FTS_NOSTAT_TYPE.
MFC after: never
Relnotes: yes
Sponsored by: Klara, Inc.
Reviewed by: kevans, imp
Differential Revision: https://reviews.freebsd.org/D50233
Diffstat (limited to 'include')
| -rw-r--r-- | include/fts.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fts.h b/include/fts.h index f2c40b854ffb..479905bda463 100644 --- a/include/fts.h +++ b/include/fts.h @@ -65,7 +65,11 @@ typedef struct { #define FTS_SEEDOT 0x000020 /* return dot and dot-dot */ #define FTS_XDEV 0x000040 /* don't cross devices */ #define FTS_WHITEOUT 0x000080 /* return whiteout information */ -#define FTS_OPTIONMASK 0x0000ff /* valid user option mask */ + /* 0x0100 is FTS_NAMEONLY below */ + /* 0x0200 was previously FTS_STOP */ +#define FTS_COMFOLLOWDIR 0x00400 /* like COMFOLLOW but directories only */ +#define FTS_NOSTAT_TYPE 0x000800 /* like NOSTAT but use d_type */ +#define FTS_OPTIONMASK 0x000cff /* valid user option mask */ /* valid only for fts_children() */ #define FTS_NAMEONLY 0x000100 /* child names only */ |
