Defined in rt_misc.h, this function shuts
down the library but does not call functions registered with atexit(). atexit()-registered
functions are called by exit().
__rt_exit() is not part of the C library
standard, but is supported by the ARM C library as an extension.
Syntax
void __rt_exit(int code);
Where code is
not used by the standard function.
Usage
Shuts down the C library by calling __rt_lib_shutdown(),
and then calls _sys_exit() to terminate the
application. Reimplement _sys_exit() rather
than __rt_exit().
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.