abort



ABORT(3)                  OpenBSD Programmer's Manual                 ABORT(3)


NAME

     abort - cause abnormal program termination


SYNOPSIS

     #include <stdlib.h>

     void
     abort(void);


DESCRIPTION

     The abort() function causes abnormal program termination to occur, unless
     the signal SIGABRT is being caught and the signal handler does not
     return.

     Any open streams are flushed and closed.


RETURN VALUES

     The abort() function never returns.


SEE ALSO

     sigaction(2), exit(3)


STANDARDS

     The abort() function conforms to IEEE Std 1003.1-1990 (``POSIX.1'').


HISTORY

     The abort() function first appeared in Version 5 AT&T UNIX.

OpenBSD 5.4                      July 17, 2013                     OpenBSD 5.4

[Unix Hosting | Open-Source | Contact Us]
[Engineering & Automation | Software Development | Server Applications]