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