BSD 4_4 release
[unix-history] / usr / src / share / man / man3f / abort.3
index 0503973..c9f5e0d 100644 (file)
@@ -1,25 +1,57 @@
-.\" Copyright (c) 1983 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1983, 1993
+.\"    The Regents of the University of California.  All rights reserved.
 .\"
 .\"
-.\"    @(#)abort.3     6.1 (Berkeley) %G%
+.\" This module is believed to contain source code proprietary to AT&T.
+.\" Use and redistribution is subject to the Berkeley Software License
+.\" Agreement and your Software Agreement with AT&T (Western Electric).
 .\"
 .\"
-.TH ABORT 3F ""
+.\"    @(#)abort.3     8.1 (Berkeley) 6/5/93
+.\"
+.TH ABORT 3F "June 5, 1993"
 .UC 5
 .SH NAME
 .UC 5
 .SH NAME
-abort \- terminate abruptly with memory image
+abort \- abnormal termination
 .SH SYNOPSIS
 .B subroutine abort (string)
 .br
 .B character*(*) string
 .SH DESCRIPTION
 .I Abort
 .SH SYNOPSIS
 .B subroutine abort (string)
 .br
 .B character*(*) string
 .SH DESCRIPTION
 .I Abort
-cleans up the I/O buffers and then aborts producing a
+cleans up the I/O buffers and then terminates execution.
+If
+.I string
+is given, it is written to logical unit 0 preceded by ``abort:''.
+.PP
+If the
+.B \(mig
+flag was specified during loading,
+then execution is terminated by calling
+.I abort
+(3)
+which aborts producing a
 .I core
 file in the current directory.
 If
 .I core
 file in the current directory.
 If
-.I string
-is given, it is written to logical unit 0 preceeded by ``abort:''.
+.B \-g
+was not specified while loading,
+then
+.I ***\ Execution terminated
+is written
+on logical unit 0 and execution is terminated.
+.PP
+If the
+.I f77_dump_flag
+environment variable
+has been set to a value which begins with
+.IR y , \ abort
+(3) is called whether or not
+.B \(mig
+was specified during loading.
+Similarly, if the value of
+.I f77_dump_flag
+begins with
+.IR n , \ abort
+is not called.
 .SH FILES
 .ie \nM /usr/ucb/lib/libF77.a
 .el /usr/lib/libF77.a
 .SH FILES
 .ie \nM /usr/ucb/lib/libF77.a
 .el /usr/lib/libF77.a