◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: <stdlib.h> Syntax: int atexit( void (*func)( void ) ); onexit_t onexit( onexit_t func ); Returns: (atexit) 0 if successful; otherwise a nonzero value. (onexit) a pointer to <func> if successful; otherwise a NULL pointer. See also: abort, exit -♦-