delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/26/05:10:26

Date: Sun, 26 Jul 1998 12:10:22 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: David Berthiaume <jackal AT prime-x DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: sigmask and sigsetmask
In-Reply-To: <35b8129b.0@209.113.154.11>
Message-ID: <Pine.SUN.3.91.980726121002.26387L-100000@is>
MIME-Version: 1.0

On Fri, 24 Jul 1998, David Berthiaume wrote:

> Hi, i have a program here that i use in linux all the time, and am trying to
> port to dos with djgpp, but there are no sigmask and sigsetmask defined in
> signal.h in djgpp, and I tryed to port them already and to no avail. anyone
> got them ported or any suggestions?

These functions are non-Posix and therefore not portable.  You should
probably convert the Linux version to use the Posix function
`sigprocmask' (instead `sigsetmask'), and `sigemptyset'/`sigaddset'
instead of `sigmask'.  These are all supported by DJGPP and documented
in the library reference.

- Raw text -


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