* cygwin.din (psiginfo): Export.

(psignal): Export.
(sys_siglist): Export.
* posix.sgml (std-notimpl): Move psiginfo and psignal from here...
(std-susv4): ... to here.
(std-deprec): Add sys_siglist.
* strsig.cc (sys_siglist): New array.
(psiginfo): New function.
* include/cygwin/signal.h (sys_siglist): Declare.
(psiginfo): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
This commit is contained in:
Yaakov Selkowitz
2011-05-04 22:12:15 +00:00
parent fab6d5dd03
commit 2f7a5c89cc
6 changed files with 74 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/* signal.h
Copyright 2004, 2005, 2006 Red Hat, Inc.
Copyright 2004, 2005, 2006, 2011 Red Hat, Inc.
This file is part of Cygwin.
@ -261,6 +261,7 @@ struct sigaction
#define SIG_HOLD ((_sig_func_ptr)2) /* Signal in signal mask */
void psiginfo (const siginfo_t *, const char *);
int sigwait (const sigset_t *, int *);
int sigwaitinfo (const sigset_t *, siginfo_t *);
int sighold (int);
@ -272,8 +273,10 @@ int sigqueue(pid_t, int, const union sigval);
int siginterrupt (int, int);
#ifdef __INSIDE_CYGWIN__
extern const char *sys_sigabbrev[];
extern const char *sys_siglist[];
#else
extern const char __declspec(dllimport) *sys_sigabbrev[];
extern const char __declspec(dllimport) *sys_siglist[];
#endif
#ifdef __cplusplus

View File

@ -407,12 +407,13 @@ details. */
240: Export ppoll.
241: Export pthread_attr_getstack, pthread_attr_getstackaddr,
pthread_getattr_np.
242: Export psiginfo, psignal, sys_siglist.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 241
#define CYGWIN_VERSION_API_MINOR 242
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible