Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::app::deadstart::ATEXIT Macro
C++
#define ATEXIT(name) PRIORITY_ATEXIT(name,ATEXIT_PRIORITY_DEFAULT)

Basic way to register a routine to run when the program exits gracefully.

   
ATEXIT( MyExitRoutine )
{
    // this will be run sometime during program shutdown
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!