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)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.