[Previous] [Contents] [Next]

my_abort()

a function called when the program terminates abnormally

Synopsis:

int my_abort ();

Description:

This function is called when the program is about to terminate abnormally. It should:

The default version of this function does nothing.


Note: The my_done() function is called before the program ends, so my_abort() doesn't need to duplicate any cleanup done there.

Returns:

0
Success.
Any other value
An error occurred.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]