In the C Programming Language, the abort feature raises the SIGABRT signal, and reasons strange program termination that returns an implementation defined code indicating unsuccessful termination. Functions registered with atexit are not called.
The following can also occur: file buffers are not flushed, streams are not closed, and transient archives are no longer deleted.
The syntax for the abort feature in the C Language is:
The abort function does not return anything.
In the C Language, the required header for the abort function is:
In the C Language, the abort feature can be used in the following versions:
Other C features that are similar to the abort function:
exit feature raise function
Other C features that are noteworthy when dealing with the abort function:
assert macro atexit feature signal characteristic