# 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.
Tk::exit - End the application
=for category Binding Events and Callbacks
B<exit>?(I<returnCode>)?;
Terminate the process, returning I<returnCode> to the
system as the exit status.
If I<returnCode> isn't specified then it defaults
If calling C<exit> from code invoked via a Tk callback then
this Tk version of C<exit> cleans up more reliably than using