◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The abort function prints the message abnormal program termination to stderr, then calls raise(SIGABRT). The action taken in response to the SIGABRT signal depends on what action has been defined for that signal in a prior call to the signal function. The default SIGABRT action is for the calling process to terminate with exit code 3, returning control to the parent process or operating system. In Windows, the abort function does not call raise(SIGABRT). Instead, it terminates the process with an "Abnormal Program Termination" pop-up message. In Windows multithread libraries, the abort function does not call raise(SIGABRT). Instead, it terminates the process with exit code 3. The abort function does not flush stream buffers or perform atexit or _onexit processing. Return Value The abort function does not return control to the caller. Rather, it terminates the process and, by default, returns an exit code of 3 to the parent process or operating system. -♦-