NAMETcl_Exit, Tcl_Finalize, Tcl_CreateExitHandler, Tcl_DeleteExitHandler, Tcl_ExitThread, Tcl_FinalizeThread, Tcl_CreateThreadExitHandler, Tcl_DeleteThreadExitHandler, Tcl_SetExitProc − end the application or thread (and invoke exit handlers)SYNOPSIS#include <tcl.h>Tcl_Exit(status)Tcl_Finalize()Tcl_CreateExitHandler(proc, clientData)Tcl_DeleteExitHandler(proc, clientData)Tcl_ExitThread(status)Tcl_FinalizeThread()Tcl_CreateThreadExitHandler(proc, clientData)Tcl_DeleteThreadExitHandler(proc, clientData)Tcl_ExitProc *
Tcl_SetExitProc(proc)ARGUMENTS
. el .TP 15
int status(in) Provides information about why the application or thread exited. Exact meaning may be platform-specific. 0 usually means a normal exit, any nonzero value usually means that an error occurred.