Função do sinal c
/**
* @param sig - the signal number
* @param func - pointer to the handler function
*/
void (*signal(int sig, void (*func)(int)))(int);
Tutorial Binger