]> www.wagner.pp.ru Git - oss/ck.git/blob - doc/exit.n
Ck console graphics toolkit
[oss/ck.git] / doc / exit.n
1 '\"
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
5 '\"
6 '\" See the file "license.terms" for information on usage and redistribution
7 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
8 '\" 
9 .so man.macros
10 .TH exit n 8.0 Ck "Ck Built-In Commands"
11 .BS
12 '\" Note:  do not modify the .SH NAME line immediately below!
13 .SH NAME
14 exit \- Exit the process
15 .SH SYNOPSIS
16 \fBexit \fR?\fI\-noclear\fR? \fR?\fIreturnCode\fR?
17 .BE
18
19 .SH DESCRIPTION
20 .PP
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
24 to 0.
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
28 the process.
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.
32
33 .SH KEYWORDS
34 exit, process