__stack_chk_fail

Name

__stack_chk_fail -- terminate a function in case of stack overflow

Synopsis

#include <libc.h>

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.

Application Usage (informative)

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