www.delorie.com/djgpp/doc/libc-2.02/libc_33.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.

Portability

ANSI, POSIX

Example

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


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

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 1998   by DJ Delorie     Updated Dec 1998  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)