Hi everybody,

the man-page signal(2) tells me (at least on my system):

       typedef void (*sighandler_t)(int);

The use of sighandler_t is a GNU extension. Various versions of libc predefine this type; libc4 and libc5 define SignalHandler, glibc
       defines sig_t and, when _GNU_SOURCE is defined, also sighandler_t.

Could you define sighandler_t in the signal package iff _GNU_SOURCE is defined?

Greetings from Germany

Markus Steinborn
GNU gv maintainer


Reply via email to