Commit d2827c99 authored by Jeroen Demeyer's avatar Jeroen Demeyer

Add some missing signals.

parent 48724f5f
...@@ -6,13 +6,6 @@ cdef extern from "<signal.h>" nogil: ...@@ -6,13 +6,6 @@ cdef extern from "<signal.h>" nogil:
ctypedef int sig_atomic_t ctypedef int sig_atomic_t
enum: SIGABRT
enum: SIGFPE
enum: SIGILL
enum: SIGINT
enum: SIGSEGV
enum: SIGTERM
sighandler_t SIG_DFL sighandler_t SIG_DFL
sighandler_t SIG_IGN sighandler_t SIG_IGN
sighandler_t SIG_ERR sighandler_t SIG_ERR
...@@ -20,49 +13,52 @@ cdef extern from "<signal.h>" nogil: ...@@ -20,49 +13,52 @@ cdef extern from "<signal.h>" nogil:
sighandler_t signal (int signum, sighandler_t action) sighandler_t signal (int signum, sighandler_t action)
int raise_"raise" (int signum) int raise_"raise" (int signum)
# Signals
cdef extern from "<signal.h>" nogil: enum:
# Program Error # Program Error
enum: SIGFPE SIGFPE
enum: SIGILL SIGILL
enum: SIGSEGV SIGSEGV
enum: SIGBUS SIGBUS
enum: SIGABRT SIGABRT
enum: SIGIOT SIGIOT
enum: SIGTRAP SIGTRAP
enum: SIGEMT SIGEMT
enum: SIGSYS SIGSYS
SIGSTKFLT
# Termination # Termination
enum: SIGTERM SIGTERM
enum: SIGINT SIGINT
enum: SIGQUIT SIGQUIT
enum: SIGKILL SIGKILL
enum: SIGHUP SIGHUP
# Alarm # Alarm
enum: SIGALRM SIGALRM
enum: SIGVTALRM SIGVTALRM
enum: SIGPROF SIGPROF
# Asynchronous I/O # Asynchronous I/O
enum: SIGIO SIGIO
enum: SIGURG SIGURG
enum: SIGPOLL SIGPOLL
# Job Control # Job Control
enum: SIGCHLD SIGCHLD
enum: SIGCLD SIGCLD
enum: SIGCONT SIGCONT
enum: SIGSTOP SIGSTOP
enum: SIGTSTP SIGTSTP
enum: SIGTTIN SIGTTIN
enum: SIGTTOU SIGTTOU
# Operation Error # Operation Error
enum: SIGPIPE SIGPIPE
enum: SIGLOST SIGLOST
enum: SIGXCPU SIGXCPU
enum: SIGXFSZ SIGXFSZ
SIGPWR
# Miscellaneous # Miscellaneous
enum: SIGUSR1 SIGUSR1
enum: SIGUSR2 SIGUSR2
enum: SIGWINCH SIGWINCH
enum: SIGINFO SIGINFO
# Real-time signals
SIGRTMIN
SIGRTMAX
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