[Top][All Lists]

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

Re: signal handler definition

From: Derek Robert Price
Subject: Re: signal handler definition
Date: Wed, 30 Jul 2003 17:20:15 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Richard Bos wrote:


My first question to you: the application's makefiles use a definition called SIGFUNC which must be set manually to void or int depending on the system. Is there a similar autoconf defition (macro) that can be used to do this automatically?

Fourth occurance of the string `signal' I found in the autoconf manual:

    If `signal.h' declares `signal' as returning a pointer to a
    function returning `void', define `RETSIGTYPE' to be `void';
    otherwise, define it to be `int'.

    Define signal handlers as returning type `RETSIGTYPE':

         hup_handler ()



Email: address@hidden

Get CVS support at <>!
The quickest way to double your money is to fold it in half and put it
back in your pocket.

reply via email to

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