| parrotcode: Exit Handling | |
| Contents | C |

src/exit.c - Exit Handling

Parrot's version of exit(),
on_exit(),
and friends.
Parrot_on_exit() allows you register exit handlers which will be called by Parrot_exit() when the interpreter exits.

int Parrot_on_exit(void (*function)(int , void *), void *arg)void Parrot_exit(int status)
include/parrot/exit.h and t/src/exit.t.

Initial version by Josh Wilmes.
|
|
|