How to check whether signal handlers remain installed?

From signal(3) (bold face removed because I don't want to look like I'm yelling):
Unlike previous signal facilities, the handler func() remains installed after a signal has been delivered.
Although I personally find this much more convenient than the old way, I was wondering if there is a simple and portable way to check whether this is the case, e.g. something along the lines of
Code:
void
sighandler(int sig)
{
    do_something();
    ...
#ifdef SOMETHING_OR_OTHER
    signal(SIGTHIS,&sighandler); /* reinstall the handler */
#endif
}

Fonz
 
Back
Top