Synopsis

#include <stdlib.h>

int atexit(void (*func)(void));

Description

Function causes the specified function func to be called when the program terminates normally.

Return value

Errors