summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.h
diff options
context:
space:
mode:
authorceri <ceri@FreeBSD.org>2006-04-03 20:36:37 +0000
committerceri <ceri@FreeBSD.org>2006-04-03 20:36:37 +0000
commit466d7db777b8f4fed2ba38cfe859189f0611acf8 (patch)
treee035182e79fc32d8cbc8a86417c289279b1e02da /usr.bin/find/find.h
parent65e207f97b98140ada68607189287191f8743e8d (diff)
downloadFreeBSD-src-466d7db777b8f4fed2ba38cfe859189f0611acf8.zip
FreeBSD-src-466d7db777b8f4fed2ba38cfe859189f0611acf8.tar.gz
Add -Btime, -Bnewer, -Bmin, -newerB[Bacmt], -newer[acmt]B options to
work with the st_birthtime field of struct stat. 'B' has been chosen to match the format specifier from stat(1). Approved by: jhb MFC after: 2 weeks
Diffstat (limited to 'usr.bin/find/find.h')
-rw-r--r--usr.bin/find/find.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h
index 59c70b6..7f1acaf 100644
--- a/usr.bin/find/find.h
+++ b/usr.bin/find/find.h
@@ -72,6 +72,8 @@ typedef struct _plandata *creat_f(struct _option *, char ***);
#define F_IGNCASE 0x00010000 /* iname ipath iregex */
#define F_EXACTTIME F_IGNCASE /* -[acm]time units syntax */
#define F_EXECPLUS 0x00020000 /* -exec ... {} + */
+#define F_TIME_B 0x00040000 /* one of -Btime, -Bnewer, -newerB* */
+#define F_TIME2_B 0x00080000 /* one of -newer?B */
/* node definition */
typedef struct _plandata {
OpenPOWER on IntegriCloud