DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

abort(3C)


abort -- generate an abnormal termination signal

Synopsis

   #include <stdlib.h>
   

void abort(void);

Description

abort first flushes any buffered data for all open stdio streams, directory streams, and message catalogue descriptors (if possible), then causes the signal SIGABRT to be sent to the calling process. The open streams are flushed even if the current disposition for SIGABRT is ignore (see signal(5)); in this case, the disposition is changed to the default for SIGABRT.

Errors

If SIGABRT is neither caught nor ignored, and the current directory is writable, a core dump is produced and a message similar to abort - core dumped is written by the shell [see sh(1)].

References

catopen(3C), exit(2), Intro(3S), kill(2), sh(1), signal(2)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004