23
28
/* Convenience type when working with signal handlers. */
24
29
typedef void (*sa_handler_t) (int);
26
31
/* Return the handler of a signal, as a sa_handler_t value regardless
27
32
of its true type. The resulting function can be compared to
28
33
special values like SIG_IGN but it is not portable to call it. */
30
35
get_handler (struct sigaction const *a)