opendarwin man page for exit

Query: exit

OS: opendarwin

Section: 3

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

exit(n) 						       Tcl Built-In Commands							   exit(n)

__________________________________________________________________________________________________________________________________________________

NAME
exit - End the application
SYNOPSIS
exit ?returnCode? _________________________________________________________________
DESCRIPTION
Terminate the process, returning returnCode to the system as the exit status. If returnCode isn't specified then it defaults to 0.
SEE ALSO
exec(n), tclvars(n)
KEYWORDS
exit, process Tcl exit(n)
Related Man Pages
exit(1t) - opensolaris
tcl_exit(3) - mojave
tcl_finalizethread(3) - mojave
tcl_createthreadexithandler(3) - centos
tcl_deleteexithandler(3) - centos
Similar Topics in the Unix Linux Community
exiting from a loop
Oracle return codes?
Grep for string and substitute if exits with a yes/no
Need output of script on screen and file with correct return status of the called script.
Script Works But Need It to Exit Upon Closing Program