summaryrefslogtreecommitdiffstats
path: root/bin/sh/eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/eval.h')
-rw-r--r--bin/sh/eval.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/sh/eval.h b/bin/sh/eval.h
index 11f7470..c82585e 100644
--- a/bin/sh/eval.h
+++ b/bin/sh/eval.h
@@ -45,6 +45,11 @@ struct backcmd { /* result of evalbackcmd */
struct job *jp; /* job structure for command */
};
+/* flags in argument to evaltree/evalstring */
+#define EV_EXIT 01 /* exit after evaluating tree */
+#define EV_TESTED 02 /* exit status is checked; ignore -e flag */
+#define EV_BACKCMD 04 /* command executing within back quotes */
+
int evalcmd(int, char **);
void evalstring(char *, int);
union node; /* BLETCH for ansi C */
OpenPOWER on IntegriCloud