S
Steve Lambert
Hi,
Is it possible for the functions registered with atexit() to have access to
parameter to exit i.e EXIT_SUCCESS or EXIT_FAILURE?
I'd like to register a set of routines to be executed on exit(EXIT_FAILURE)
and a different set of routines on exit(EXIT_SUCCESS).
Any way of doing this?
Cheers
Steve
Is it possible for the functions registered with atexit() to have access to
parameter to exit i.e EXIT_SUCCESS or EXIT_FAILURE?
I'd like to register a set of routines to be executed on exit(EXIT_FAILURE)
and a different set of routines on exit(EXIT_SUCCESS).
Any way of doing this?
Cheers
Steve