Missing proto for sigaction() in <sys/signal.h>

Mumit Khan khan@xraylith.wisc.edu
Thu Mar 27 20:59:00 GMT 1997


Jim Balter <jqb@netcom.com> 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 -- khan@xraylith.wisc.edu
http://www.xraylith.wisc.edu/~khan/
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list