bsd man page for exit

Query: exit

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

EXIT(3F)																  EXIT(3F)

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. (Therefore status should be in the range 0 - 255) This call will never return. The C function exit may cause cleanup actions before the final `sys exit'.
FILES
/usr/lib/libF77.a
SEE ALSO
exit(2), fork(2), fork(3F), wait(2), wait(3F) 4.2 Berkeley Distribution May 15, 1985 EXIT(3F)
Related Man Pages
wait(3c) - sunos
exit(3) - mojave
exit(3) - osx
exit(2) - minix
_exit(2) - osx
Similar Topics in the Unix Linux Community
Oracle return codes?
confusion in use of exit 0
To search the pattern on the basis of date and exit code
[BASH] Script to manage background scripts (running, finished, exit code)
Need output of script on screen and file with correct return status of the called script.