Keil Logo Arm Logo

C and C++ Libraries and Floating-Point Support Reference

__rt_exit()

__rt_exit()

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.

Show/hideSyntax

void __rt_exit(int code);

Where code is not used by the standard function.

Show/hideUsage

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().

Show/hideReturns

This function does not return.

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0589B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.