aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-13 20:23:41 -0500
committerRob Landley <rob@landley.net>2016-03-13 20:23:41 -0500
commiteb24df9749994d175a2de3b7fc0535abe46a7576 (patch)
tree73960237e28c3e222cbe054858641d7b4ece8a92 /toys.h
parent51d71f5c5b7040b50a38d9360561cee626eb2c2e (diff)
downloadtoybox-eb24df9749994d175a2de3b7fc0535abe46a7576.tar.gz
Split out _xexit() from xexit() and give sigatexit() multiple callbacks.
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys.h b/toys.h
index 8a29730b..414f439c 100644
--- a/toys.h
+++ b/toys.h
@@ -113,6 +113,7 @@ extern struct toy_context {
// This is at the end so toy_init() doesn't zero it.
jmp_buf *rebound; // longjmp here instead of exit when do_rebound set
+ struct arg_list *xexit; // atexit() functions for xexit(), set by sigatexit()
void *stacktop; // nested toy_exec() call count, or 0 if vforked
} toys;