Commit eb17d235 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #2086 from jdemeyer/master

Add sigaltstack()
parents 8fab3aab 9ad7dabd
......@@ -31,6 +31,11 @@ cdef extern from "<signal.h>" nogil:
sigset_t sa_mask
int sa_flags
ctypedef struct stack_t:
void *ss_sp
int ss_flags
size_t ss_size
enum: SA_NOCLDSTOP
enum: SIG_BLOCK
enum: SIG_UNBLOCK
......@@ -64,3 +69,5 @@ cdef extern from "<signal.h>" nogil:
int sigemptyset (sigset_t *)
int sigfillset (sigset_t *)
int sigismember (const sigset_t *)
int sigaltstack(const stack_t *, stack_t *)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment