www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/25/22:00:22

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Missing proto for sigaction() in <sys/signal.h>
25 Mar 1997 22:00:22 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9703260449.AA00226.cygnus.gnu-win32@modi.xraylith.wisc.edu>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I don't have a POSIX spec handy, but I believe that sys/signal.h
should have the prototype for sigaction(). It's already defined
in winsup/signal.cc, so no harm done even if I'm wrong.

Here's a trivial patch for newlib/libc/include/sys/signal.h:

*** signal.h.~1	Tue Mar 25 22:32:25 1997
- --- signal.h	Tue Mar 25 22:36:57 1997
*************** struct sigaction 
*** 25,28 ****
- --- 25,30 ----
  #define sigemptyset(what)   (*(what) = 0)
  
+ int sigaction (int __sig, struct sigaction *__act,
+     struct sigaction *__oldact);
  int sigprocmask (int how, const sigset_t *a, sigset_t *b);
  #endif /* _STRICT_ANSI */


Regards,
Mumit -- khan AT xraylith DOT wisc DOT edu
http://www.xraylith.wisc.edu/~khan/
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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