CS3 students, There was a question as to what the return value of atexit() is. atexit() returns zero if it successfully registers the argument function pointer to be executed after program termination. atexit() returns non-zero otherwise. Thanks, -- Mikhail