Functions registered by atexit() are executed in reverse order when a program ends.
If exit() is called, these functions are still called.
If abort() is called, these functions are not called.
Reference: The C++ Standard Library by Nicolai M. Josuttis. Addison-Wesley, 1999, p. 71.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment