exit(2) v7 man page | unix.com

Man Page: exit

Operating Environment: v7

Section: 2

EXIT(2) 							System Calls Manual							   EXIT(2)

NAME
exit - terminate process
SYNOPSIS
exit(status) int status; _exit(status) int status;
DESCRIPTION
Exit is the normal means of terminating a process. Exit 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. This call can never return. The C function exit may cause cleanup actions before the final `sys exit'. The function _exit circumvents all cleanup.
SEE ALSO
wait(2)
ASSEMBLER
(exit = 1.) (status in r0) sys exit EXIT(2)
Related Man Pages
_exit(2) - redhat
exit(2) - redhat
_exit(3) - mojave
_exit(2) - ultrix
exit(2) - ultrix
Similar Topics in the Unix Linux Community
exiting from a loop
Unable to find exit status of piped command
While Loop Exiting
To search the pattern on the basis of date and exit code
Script Works But Need It to Exit Upon Closing Program