www.delorie.com/djgpp/doc/libc-2.01/libc_32.html   search  
Go to the first, previous, next, last section, table of contents.


abort

Syntax

#include <stdlib.h>

void abort(void);

Description

When you call abort, the message "Abort!" is printed on stdout and the program exits with an exit code of one.

Return Value

This function does not return.

Example

if ((q = malloc(100)) == NULL)
  abort();


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997