12 lines
209 B
C
12 lines
209 B
C
|
#include <stdlib.h>
|
||
|
|
||
|
void exit(int rc)
|
||
|
{
|
||
|
/* TODO: invoke atexit callbacks */
|
||
|
/* TODO: exit: Flush all streams */
|
||
|
/* TODO: exit: Close all streams */
|
||
|
/* TODO: exit: Remove temporary files */
|
||
|
|
||
|
_Exit(rc);
|
||
|
}
|