Subject: Re: Missing proto for sigaction() in <sys/signal.h>
From: [email-masked] (Mumit Khan)

28 Mar 1997 01:17:05 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: Jim Balter <[email-masked]>
Original-Cc: [email-masked]
In-Reply-To: Your message of "Tue, 25 Mar 1997 22:33:24 PST."
             <[email-masked]> 
Original-Sender: [email-masked]

Jim Balter <[email-masked]> writes:
> 
> [<signal.h> actually; POSIX doesn't mandate <sys/sygnal.h>]
> 
> Aside from sigaction, the following symbols mandated by POSIX are
> missing from signal.h:
> 
> SIGCONT

Hmmm ... there in my copy. My CVS repo is trashed, so hard to tell if
I added it or not.

> kill
> sigdelset
> sigfillset
> sigismember

Here's the trivial patch:

*** newlib/libc/include/sys/signal.h.~1 Tue Mar 25 22:32:25 1997
--- newlib/libc/include/sys/signal.h    Thu Mar 27 22:57:41 1997
*************** struct sigaction 
*** 25,29 ****
  #define sigemptyset(what)   (*(what) = 0)
  
! int sigprocmask (int how, const sigset_t *a, sigset_t *b);
  #endif /* _STRICT_ANSI */
  
--- 25,39 ----
  #define sigemptyset(what)   (*(what) = 0)
  
! /* From winsup/winsup.h */
! int _EXFUN(sigdelset, (sigset_t *set, const int sig));
! int _EXFUN(sigfillset, (sigset_t * set));
! int _EXFUN(sigismember, (const sigset_t *set, int sig));
! 
! int _EXFUN(sigaction, (int signum,
!              const struct sigaction *newaction,
!              struct sigaction *oldaction));
! int _EXFUN (sigprocmask, (int how, const sigset_t *a, sigset_t *b));
! 
! int _EXFUN(kill, (pid_t pid, int sig));
  #endif /* _STRICT_ANSI */

> sigpending
> sigsuspend

Anybody out there with a robust implementation of sigpending and
sigsuspend for gnu-win32 out there?

Regards,
Mumit -- [email-masked]
http://www.xraylith.wisc.edu/~khan/
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".