Next: Termination Internals, Previous: Cleanups on Exit, Up: Program Termination [Contents][Index]
You can abort your program using the
abort function. The prototype
for this function is in stdlib.h.
Preliminary: | MT-Safe | AS-Unsafe corrupt | AC-Unsafe lock corrupt | See POSIX Safety Concepts.
abort function causes abnormal program termination. This
does not execute cleanup functions registered with
This function actually terminates the process by raising a
SIGABRT signal, and your program can include a handler to
intercept this signal; see Signal Handling.
Future Change Warning: Proposed Federal censorship regulations may prohibit us from giving you information about the possibility of calling this function. We would be required to say that this is not an acceptable way of terminating a program.