Online HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens
int atexit( void func )- prototype in stdlib.h - func is defined as void (*func)(void) - calls func() before exiting to DOS - up to 32 functions can be called (if 32 atexit calls registered) - should be located in main & executed before anything else - returns 0 if OK, else nonzero if no space to register function
[helppc.bosbyte.nl] atexit Home Back Topics