[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature Request: define sighandler_t

From: Markus Steinborn
Subject: Feature Request: define sighandler_t
Date: Tue, 03 May 2011 19:52:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20110123 SeaMonkey/2.0.12

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

[Prev in Thread] Current Thread [Next in Thread]