#include <stdlib.h> void abort(void);
When you call abort
, the message "Abort!" is printed on stdout
and the program exits with an exit code of one.
This function does not return.
ANSI, POSIX
if ((q = malloc(100)) == NULL) abort();
Go to the first, previous, next, last section, table of contents.