cast callback pointer to (__sighandler_t)