Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ abort(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exit(S)

signal(S)


 abort(S)                       6 January 1993                       abort(S)


 Name

    abort - generate an abort fault

 Syntax


    cc  . . .  -lc


    #include <stdlib.h>

    void abort ()


 Description

    The abort function closes all open files, streams, and directory streams.
    This is the same as exit(S), but instead of just exiting, abort causes
    SIGABRT to be sent to the calling process.  If SIGABRT is neither caught
    nor ignored, all stdio(S) streams are flushed prior to the signal being
    sent, and a core dump results.

 See also

    exit(S), signal(S)

 Diagnostics

    If SIGABRT is neither caught nor ignored, and the current directory is
    writable, a core dump is produced and the message ``abort - core dumped''
    is written by the shell.

 Standards conformance

    abort is conformant with:
    AT&T SVID Issue 2;
    X/Open Portability Guide, Issue 3, 1989;
    ANSI X3.159-1989 Programming Language -- C;
    IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C
    Language] (ISO/IEC 9945-1);
    and NIST FIPS 151-1.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026