Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <stdlib.h>
    void abort( void );

Description:
    The abort function raises the signal SIGABRT.  The default action for
    SIGABRT is to terminate program execution, returning control to the
    process that started the calling program (usually the operating system).
     The status unsuccessful termination is returned to the invoking process
    by means of the function call raise(SIGABRT).  Under DOS and OS/2, the
    status value is 3.

Returns:
    The abort function does not return to its caller.

Example:
    #include <stdlib.h>

    void main()
      {
        int major_error = 1;

        if( major_error )
          abort();
      }

Classification:
    ANSI

Systems:
    All, Netware

See Also:
    atexit, _bgetcmd, exec Functions, exit, _exit, getcmd, getenv, main,
    onexit, putenv, spawn Functions, system

See Also: atexit _bgetcmd

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson