BSD 4_4 release
[unix-history] / usr / src / share / man / man3f / abort.3
CommitLineData
7e0234f9
KB
1.\" Copyright (c) 1983, 1993
2.\" The Regents of the University of California. All rights reserved.
d60ce76f 3.\"
ad787160
C
4.\" This module is believed to contain source code proprietary to AT&T.
5.\" Use and redistribution is subject to the Berkeley Software License
6.\" Agreement and your Software Agreement with AT&T (Western Electric).
ecee498b 7.\"
ad787160 8.\" @(#)abort.3 8.1 (Berkeley) 6/5/93
d60ce76f 9.\"
ad787160 10.TH ABORT 3F "June 5, 1993"
d60ce76f
KM
11.UC 5
12.SH NAME
e4987ae7 13abort \- abnormal termination
d60ce76f
KM
14.SH SYNOPSIS
15.B subroutine abort (string)
16.br
17.B character*(*) string
18.SH DESCRIPTION
19.I Abort
e4987ae7
RE
20cleans up the I/O buffers and then terminates execution.
21If
22.I string
23is given, it is written to logical unit 0 preceded by ``abort:''.
24.PP
25If the
26.B \(mig
27flag was specified during loading,
28then execution is terminated by calling
29.I abort
30(3)
31which aborts producing a
d60ce76f
KM
32.I core
33file in the current directory.
34If
e4987ae7
RE
35.B \-g
36was not specified while loading,
37then
38.I ***\ Execution terminated
39is written
40on logical unit 0 and execution is terminated.
41.PP
42If the
43.I f77_dump_flag
44environment variable
45has been set to a value which begins with
46.IR y , \ abort
47(3) is called whether or not
48.B \(mig
49was specified during loading.
50Similarly, if the value of
51.I f77_dump_flag
52begins with
53.IR n , \ abort
54is not called.
d60ce76f
KM
55.SH FILES
56.ie \nM /usr/ucb/lib/libF77.a
57.el /usr/lib/libF77.a
58.SH "SEE ALSO"
59abort(3)
60.SH BUGS
61.I String
62is ignored on the PDP11.