www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/28/08:15:53

Date: Sun, 28 Nov 1999 11:59:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Morpheus <hall AT silo DOT csci DOT unt DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: SIGSYS & SIGBUS
In-Reply-To: <81otqb$aak@hermes.acs.unt.edu>
Message-ID: <Pine.SUN.3.91.991128115904.6867c-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 27 Nov 1999, Morpheus wrote:

> Does anyone know where these constants are in the djgpp library? I thought
> they'd be in signal.h, but they're not. Does djgpp have equivalents for them
> in signal.h?

These signals are non-portable (neither ANSI nor Posix require them),
and DJGPP doesn't support them.  You can never have SIGBUS or SIGSYS
in a DJGPP program.  That's why you don't find them in signal.h.

Any portable code should only use non-standard signal names if they
are defined, like this:

    #ifdef SIGBUS
    put here the code that uses SIGBUS
    #endif

If the program you are trying to compile doesn't do that, I suggest to
report this to the program's maintainer.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019