mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-05-28 22:45:15 +02:00
14 lines
234 B
C
14 lines
234 B
C
#include <stdlib.h>
|
|
|
|
extern void __cxa_finalize(void *d);
|
|
|
|
void exit(int rc)
|
|
{
|
|
__cxa_finalize(NULL);
|
|
|
|
/* TODO: exit: Flush all streams */
|
|
/* TODO: exit: Close all streams */
|
|
/* TODO: exit: Remove temporary files */
|
|
|
|
_Exit(rc);
|
|
}
|