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