Import CSRG 4.4BSD-Lite2 includes onto vendor branch

This commit is contained in:
Peter Wemm 1997-03-11 11:11:37 +00:00
parent f7c9eeddef
commit 0b7ae03c1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23650

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)fts.h 8.1 (Berkeley) 6/2/93 * @(#)fts.h 8.3 (Berkeley) 8/14/94
*/ */
#ifndef _FTS_H_ #ifndef _FTS_H_
@ -54,10 +54,11 @@ typedef struct {
#define FTS_PHYSICAL 0x010 /* physical walk */ #define FTS_PHYSICAL 0x010 /* physical walk */
#define FTS_SEEDOT 0x020 /* return dot and dot-dot */ #define FTS_SEEDOT 0x020 /* return dot and dot-dot */
#define FTS_XDEV 0x040 /* don't cross devices */ #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_NAMEONLY 0x100 /* (private) child names only */
#define FTS_STOP 0x100 /* (private) unrecoverable error */ #define FTS_STOP 0x200 /* (private) unrecoverable error */
int fts_options; /* fts_open options, global flags */ int fts_options; /* fts_open options, global flags */
} FTS; } FTS;
@ -95,10 +96,12 @@ typedef struct _ftsent {
#define FTS_NSOK 11 /* no stat(2) requested */ #define FTS_NSOK 11 /* no stat(2) requested */
#define FTS_SL 12 /* symbolic link */ #define FTS_SL 12 /* symbolic link */
#define FTS_SLNONE 13 /* symbolic link without target */ #define FTS_SLNONE 13 /* symbolic link without target */
#define FTS_W 14 /* whiteout object */
u_short fts_info; /* user flags for FTSENT structure */ u_short fts_info; /* user flags for FTSENT structure */
#define FTS_DONTCHDIR 0x01 /* don't chdir .. to the parent */ #define FTS_DONTCHDIR 0x01 /* don't chdir .. to the parent */
#define FTS_SYMFOLLOW 0x02 /* followed a symlink to get here */ #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 */ u_short fts_flags; /* private flags for FTSENT structure */
#define FTS_AGAIN 1 /* read node again */ #define FTS_AGAIN 1 /* read node again */