__chk_fail

Name

__chk_fail -- terminate a function in case of buffer overflow

Synopsis

void __chk_fail(void);

Description

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

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

Application Usage (informative)

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