Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adb(1)

exit(2)

sigvec(2)

fclose(3s)

abort(3)

Name

abort − generate an illegal instruction fault

Syntax

#include <stdlib.h>

void abort()

Description

The abort subroutine executes an instruction which is illegal in user mode. This causes a signal that normally terminates the process with a core dump, which may be used for debugging.

Diagnostics

Illegal instruction − core dumped
 −  Bourne shell.

Illegal instruction (core dumped)
 −  C shell.

Environment

When your program is compiled using the System V or POSIX environment, abort closes open files before aborting the process with an IOT fault.

Restrictions

The abort function does not flush standard I/O buffers.  Use fflush(.). For further information, see fclose(.).

See Also

adb(1), exit(2), sigvec(2), fclose(3s)

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