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 SIGFPE
enum: SIGFPE SIGILL
enum: SIGILL SIGSEGV
enum: SIGSEGV SIGBUS
enum: SIGBUS SIGABRT
enum: SIGABRT SIGIOT
enum: SIGIOT SIGTRAP
enum: SIGTRAP SIGEMT
enum: SIGEMT SIGSYS
enum: 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
# Miscellaneous SIGPWR
enum: SIGUSR1 # Miscellaneous
enum: SIGUSR2 SIGUSR1
enum: SIGWINCH SIGUSR2
enum: SIGINFO SIGWINCH
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