Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / sun4-solaris / Tk / exit.pod
CommitLineData
86530b38
AT
1# Copyright (c) 1993 The Regents of the University of California.
2# Copyright (c) 1994-1996 Sun Microsystems, Inc.
3# See the file "license.terms" for information on usage and redistribution
4# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
5#
6#
7
8=head1 NAME
9
10Tk::exit - End the application
11
12=for category Binding Events and Callbacks
13
14=head1 SYNOPSIS
15
16 use Tk qw(exit);
17 ...
18 B<exit>?(I<returnCode>)?;
19
20=head1 DESCRIPTION
21
22Terminate the process, returning I<returnCode> to the
23system as the exit status.
24If I<returnCode> isn't specified then it defaults
25to 0.
26
27If calling C<exit> from code invoked via a Tk callback then
28this Tk version of C<exit> cleans up more reliably than using
29the perl C<exit>.
30
31=head1 KEYWORDS
32
33exit, process
34
35=cut
36