#include <cmsis-plus/rtos/os-hooks.h>
#include <cmsis-plus/diag/trace.h>
#include <cmsis_device.h>
#include <stdlib.h>
#include <stdbool.h>
#include "atexit.h"
Go to the source code of this file.
◆ _Exit()
◆ _exit()
◆ abort()
◆ exit()
- Parameters
-
exit()
does several cleanups before ending the application:
- calls all application-defined cleanup functions enrolled with
atexit()
;
- files and streams are cleaned up: any pending output is delivered to the host system, each open file or stream is closed, and files created by
tmpfile()
are deleted (wishful thinking, not implemented);
- call the static destructors (in reverse order of constructors)
When all cleanups are done, _Exit()
is called to perform the actual termination.
Definition at line 73 of file exit.c.
◆ os_exit()
◆ os_goodbye()