This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Missing proto for sigaction() in <sys/signal.h>
- To: Jim Balter <jqb at netcom dot com>
- Subject: Re: Missing proto for sigaction() in <sys/signal.h>
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Thu, 27 Mar 1997 22:52:15 -0600
- Cc: gnu-win32 at cygnus dot com
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".