![]() |
![]() |
![]() |
a function called when the program terminates abnormally
int my_abort ();
This function is called when the program is about to terminate abnormally. It should:
The default version of this function does nothing.
![]() |
The my_done() function is called before the program ends, so my_abort() doesn't need to duplicate any cleanup done there. |
Photon
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
![]() |
![]() |
![]() |