2 '\" Copyright (c) 1993 The Regents of the University of California.
3 '\" Copyright (c) 1994 Sun Microsystems, Inc.
4 '\" Copyright (c) 1996-1999 Christian Werner
6 '\" See the file "license.terms" for information on usage and redistribution
7 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
10 .TH exit n 8.0 Ck "Ck Built-In Commands"
12 '\" Note: do not modify the .SH NAME line immediately below!
14 exit \- Exit the process
16 \fBexit \fR?\fI\-noclear\fR? \fR?\fIreturnCode\fR?
21 Terminate the process, returning \fIreturnCode\fR (an integer) to the
22 system as the exit status.
23 If \fIreturnCode\fR isn't specified then it defaults
25 This command replaces the Tcl command by the same name.
26 It is identical to Tcl's \fBexit\fR command except that
27 before exiting it destroys all the windows managed by
29 This allows various cleanup operations to be performed, such
30 as restoring the terminal's state and clearing the terminal's screen.
31 If the \fI\-noclear\fR switch is given, no screen clear takes place.