EXIT(3F) — FORTRAN LIBRARY ROUTINES
NAME
exit − terminate process with status
SYNOPSIS
subroutine exit (status)
integer status
DESCRIPTION
exit flushes and closes all the process’s files, and notifies the parent process if it is executing a wait. The low-order 8 bits of status are available to the parent process. These 8 bits are shifted left 8 bits, and all other bits are zero. (Therefore status should be in the range 256 − 65280)
This call will never return.
The C function exit may cause cleanup actions before the final ‘sys exit’.
If you call exit without an argument, you will get a warning message, and a zero will be automatically provided as an argument.
FILES
libF77.a
SEE ALSO
exit(2), fork(2), fork(3f), wait(2), wait(3f)
Sun Release 4.1 — Last change: 20 July 1992