Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ abort(3C) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

exit(2)

getrlimit(2)

kill(2)

signal(2)

reentrant(3)

stdio(3S)



abort(3C)                      DG/UX 5.4R3.00                      abort(3C)


NAME
       abort - generate an abnormal termination signal

SYNOPSIS
       #include <stdlib.h>

       void abort (void);

DESCRIPTION
       abort first closes all open files in standard I/O; then, if possible,
       causes the signal SIGABRT to be sent to the calling process.

   Considerations for Threads Programming
                     +---------+-----------------------------+
                     |         |                      async- |
                     |function | reentrant   cancel   cancel |
                     |         |              point    safe  |
                     +---------+-----------------------------+
                     |abort    |     Y          N        N   |
                     +---------+-----------------------------+
DIAGNOSTICS
       If all of these conditions are met, a core dump is produced and the
       shell writes an abort - core dumped message:

       *    SIGABRT is not caught.

       *    The current directory is writable.

       *    The euid and uid are the same.

       *    The RLIMIT_CORE resource limit is set to a non-zero value.

SEE ALSO
       sh(1), exit(2), getrlimit(2), kill(2), signal(2), reentrant(3),
       stdio(3S).






















Licensed material--property of copyright holder(s)                         1


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