Keil Logo Arm Logo

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

__rt_raise()

__rt_raise()

Defined in rt_misc.h, this function raises a signal to indicate a runtime anomaly. It is not part of the C library standard, but is supported by the ARM C library as an extension.

Show/hideSyntax

void __rt_raise(int signal, int type);

where:

signal

is an integer that holds the signal number.

type

is an integer, string constant or variable that provides additional information about the circumstances that the signal was raised in, for some kinds of signal.

Show/hideUsage

Redefine this function to replace the entire signal handling mechanism for the library. The default implementation calls __raise().

Depending on the value returned from __raise():

no return

The handler performed a long jump or restart and __rt_raise() does not regain control.

0

The signal was handled and __rt_raise() exits.

nonzero

The default library implementation calls _sys_exit(rc) if __raise() returns a nonzero return code rc.

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.