The atexit Function

ANSI 4.10.4.3   The status returned by the atexit function if the value of the argument is other than zero, EXIT_SUCCESS, or EXIT_FAILURE

The atexit function returns zero if successful, or a nonzero value if unsuccessful.