Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ exit(3F) — Sun WorkShop 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exit(2)

fork(2)

fork(3f)

wait(2)

wait(3f)

EXIT(3F)

NAME

exit − terminate process with status

SYNOPSIS

subroutine exit (status)
integer∗4 status

DESCRIPTION

exit flushes and closes all the files of the process, 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 of 256 − 65280. 

This call never returns. 

The C function exit may cause cleanup actions before the final ‘sys exit’. 

If you call exit without an argument, you get a warning message, and a zero is automatically provided as an argument. 

FILES

libF77.a

SEE ALSO

exit(2), fork(2), fork(3f), wait(2), wait(3f)

SunOS 5.0  —  Last change: 98/09/16

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026