summaryrefslogtreecommitdiff
path: root/usr.bin/find/find.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-12-23 04:58:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-12-23 04:58:12 +0000
commit46a983d393e46db3b4911dfe8263016c647d8d8a (patch)
treef7c109238ffe0cc7c22ba67679b819ad971362e1 /usr.bin/find/find.h
parent08918ccc1b6d76dbe0e85948a58510568809d9fa (diff)
Add -execdir support.
Diffstat (limited to 'usr.bin/find/find.h')
-rw-r--r--usr.bin/find/find.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h
index b1b71021186..78a314f37dd 100644
--- a/usr.bin/find/find.h
+++ b/usr.bin/find/find.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: find.h,v 1.5 1996/09/01 04:56:26 tholo Exp $*/
+/* * $OpenBSD: find.h,v 1.6 1996/12/23 04:58:09 millert Exp $*/
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -40,8 +40,8 @@
/* node type */
enum ntype {
N_AND = 1, /* must start > 0 */
- N_ATIME, N_CLOSEPAREN, N_CTIME, N_DEPTH, N_EMPTY, N_EXEC, N_EXPR,
- N_FOLLOW, N_FSTYPE, N_GROUP, N_INUM, N_LINKS, N_LS, N_MAXDEPTH,
+ N_ATIME, N_CLOSEPAREN, N_CTIME, N_DEPTH, N_EMPTY, N_EXEC, N_EXECDIR,
+ N_EXPR, N_FOLLOW, N_FSTYPE, N_GROUP, N_INUM, N_LINKS, N_LS, N_MAXDEPTH,
N_MINDEPTH, N_MTIME, N_NAME, N_NEWER, N_NOGROUP, N_NOT, N_NOUSER,
N_OK, N_OPENPAREN, N_OR, N_PATH, N_PERM, N_PRINT, N_PRINT0, N_PRUNE,
N_SIZE, N_TYPE, N_USER, N_XDEV,
@@ -106,7 +106,7 @@ typedef struct _option {
#define O_NONE 0x01 /* no call required */
#define O_ZERO 0x02 /* pass: nothing */
#define O_ARGV 0x04 /* pass: argv, increment argv */
-#define O_ARGVP 0x08 /* pass: *argv, N_OK || N_EXEC */
+#define O_ARGVP 0x08 /* pass: *argv, N_OK || N_EXEC || N_EXECDIR */
int flags;
} OPTION;