diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-18 06:37:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-18 06:37:37 -0700 |
commit | 8a3c85c8028efe135c2eef7c5db204ae30c60ba2 (patch) | |
tree | 4223d626529937701574c828541a1d808dc9d311 /syslog.c | |
parent | 97fce155c0b92429b9deabfca31e35dbb5fe0d8f (diff) | |
download | txr-8a3c85c8028efe135c2eef7c5db204ae30c60ba2.tar.gz txr-8a3c85c8028efe135c2eef7c5db204ae30c60ba2.tar.bz2 txr-8a3c85c8028efe135c2eef7c5db204ae30c60ba2.zip |
New functions: at-exit-call and at-exit-do-not-call.
* sysif.c (at_exit_list): New static variable.
(at_exit_call, at_exit_do_not_call): New functions.
(at_exit_handler): New static function.
(sysif_init): GC-protect at_exit_list.
Register at_exit_handler with C atexit function.
Register intrinsic functions at-exit-call and
at-exit-do-not-call.
* sysif.h (at_exit_call, at_exit_do_not_call): Registered.
* txr.1: Documented.
Diffstat (limited to 'syslog.c')
0 files changed, 0 insertions, 0 deletions