Commit 9ad7dabd authored by Jeroen Demeyer's avatar Jeroen Demeyer

Add sigaltstack()

parent 8fab3aab
......@@ -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