atexit returns 0, but function it is supposed to call is not executed. Where could the problem be? This is the function I\'m calling with atexit:
void workingTime