From Jerry Berkman
authorRobert Elz <kre@ucbvax.Berkeley.EDU>
Sat, 8 Jun 1985 11:36:01 +0000 (03:36 -0800)
committerRobert Elz <kre@ucbvax.Berkeley.EDU>
Sat, 8 Jun 1985 11:36:01 +0000 (03:36 -0800)
SCCS-vsn: share/man/man3f/abort.3 6.2

usr/src/share/man/man3f/abort.3

index 0503973..056d39d 100644 (file)
@@ -2,24 +2,53 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)abort.3     6.1 (Berkeley) %G%
+.\"    @(#)abort.3     6.2 (Berkeley) %G%
 .\"
 .TH ABORT 3F ""
 .UC 5
 .SH NAME
 .\"
 .TH ABORT 3F ""
 .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