Commit 35ae99b6 authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Merge pull request #1914 from jdemeyer/SIGPWR

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