1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: abort
Command Library

NAME

abort - cause abnormal program termination  

SYNOPSIS

#include <stdlib.h>

void abort(void);
 

DESCRIPTION

The abort() function causes abnormal program termination unless the signal SIGABRT is caught and the signal handler does not return. If the abort() function causes program termination, all open streams are closed and flushed.

If the SIGABRT signal is blocked or ignored, the abort() function will still override it.  

RETURN VALUE

The abort() function never returns.  

CONFORMING TO

SVID 3, POSIX, BSD 4.3, ISO 9899 (C99)  

SEE ALSO

sigaction(2), exit(3), raise(3)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

More from About.com

  1. Home
  2. Computing & Technology
  3. Linux

©2008 About.com, a part of The New York Times Company.

All rights reserved.