summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 9194ea82c..657e6d8ec 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -3222,6 +3222,14 @@ enum {
/* Hooks in core. */
/***************************************/
+/* The type of zexit()'s second parameter, which see. */
+enum zexit_t {
+ /* This isn't a bitfield. The values are here just for explicitness. */
+ ZEXIT_NORMAL = 0,
+ ZEXIT_SIGNAL = 1,
+ ZEXIT_DEFERRED = 2
+};
+
#define EXITHOOK (zshhooks + 0)
#define BEFORETRAPHOOK (zshhooks + 1)
#define AFTERTRAPHOOK (zshhooks + 2)