Using abort
The latest version of this topic can be found at Using abort.
Calling the abort function causes immediate termination. It bypasses the normal destruction process for initialized global static objects. It also bypasses any special processing that was specified using the atexit
function.