__stack_chk_fail

Name

__stack_chk_fail -- terminate a function in case of stack overflow

Synopsis

void __stack_chk_fail(void);

Description

The interface __stack_chk_fail() shall abort the function that called it with a message that a stack overflow has been detected. The program that called the function shall then exit.

The __stack_chk_fail() function is not in the source standard; it is only in the binary standard.

Application Usage (informative)

The interface __stack_chk_fail() does not check for a stack overflow itself. It merely reports one when invoked.