summaryrefslogtreecommitdiff
path: root/tcl/doc/exit.n
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/doc/exit.n')
-rw-r--r--tcl/doc/exit.n28
1 files changed, 28 insertions, 0 deletions
diff --git a/tcl/doc/exit.n b/tcl/doc/exit.n
new file mode 100644
index 00000000000..d7fac6fb610
--- /dev/null
+++ b/tcl/doc/exit.n
@@ -0,0 +1,28 @@
+'\"
+'\" Copyright (c) 1993 The Regents of the University of California.
+'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
+'\"
+'\" See the file "license.terms" for information on usage and redistribution
+'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+'\"
+'\" RCS: @(#) $Id$
+'\"
+.so man.macros
+.TH exit n "" Tcl "Tcl Built-In Commands"
+.BS
+'\" Note: do not modify the .SH NAME line immediately below!
+.SH NAME
+exit \- End the application
+.SH SYNOPSIS
+\fBexit \fR?\fIreturnCode\fR?
+.BE
+
+.SH DESCRIPTION
+.PP
+Terminate the process, returning \fIreturnCode\fR to the
+system as the exit status.
+If \fIreturnCode\fR isn't specified then it defaults
+to 0.
+
+.SH KEYWORDS
+exit, process