Export XSI sigpause

There are two common sigpause variants, both of which take an int argument.
If you request _XOPEN_SOURCE or _GNU_SOURCE, you get the System V version,
which removes the given signal from the process's signal mask; otherwise
you get the BSD version, which sets the process's signal mask to the given
value.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz
2017-06-14 10:20:05 -05:00
parent 40ca6f02ed
commit dde6af6f82
5 changed files with 36 additions and 4 deletions

View File

@ -475,12 +475,13 @@ details. */
308: Export dladdr.
309: Export getloadavg.
310: Export reallocarray.
311: Export __xpg_sigpause.
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
sigaltstack, sethostname. */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 310
#define CYGWIN_VERSION_API_MINOR 311
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared