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/C++ v10.0 : C library - <b>synopsis:</b> 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.

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

Example:
    #include <stdlib.h>

    void main()
      {
        int major_error = 1;

        if( major_error )
          abort();
      }

Classification:
    ANSI

Systems:
    All

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