4.4.4. __rt_exit()

This function shuts down the library but does not call functions registered with atexit().

Syntax

void __rt_exit(int code);

code

Is not used by the standard function.

Implementation

The exit functions differ in their handling of the libraryand atexit() functions:

exit()

Calls atexit()-registered functions and shuts down the library.

__rt_exit()

Shuts down the library but does not call atexit() functions.

_sys_exit()

Does not shut down the library or call atexit() functions.

Returns

The function does not return.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential