| Server IP : 123.56.80.60 / Your IP : 216.73.216.78 Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586 User : SYSTEM ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/python/Lib/site-packages/Cython/Includes/libc/ |
Upload File : |
# 7.14 Signal handling <signal.h>
ctypedef void (*sighandler_t)(int SIGNUM) nogil
cdef extern from "<signal.h>" nogil:
ctypedef int sig_atomic_t
sighandler_t SIG_DFL
sighandler_t SIG_IGN
sighandler_t SIG_ERR
sighandler_t signal (int signum, sighandler_t action)
int raise_"raise" (int signum)
# Signals
enum:
# Program Error
SIGFPE
SIGILL
SIGSEGV
SIGBUS
SIGABRT
SIGIOT
SIGTRAP
SIGEMT
SIGSYS
SIGSTKFLT
# Termination
SIGTERM
SIGINT
SIGQUIT
SIGKILL
SIGHUP
# Alarm
SIGALRM
SIGVTALRM
SIGPROF
# Asynchronous I/O
SIGIO
SIGURG
SIGPOLL
# Job Control
SIGCHLD
SIGCLD
SIGCONT
SIGSTOP
SIGTSTP
SIGTTIN
SIGTTOU
# Operation Error
SIGPIPE
SIGLOST
SIGXCPU
SIGXFSZ
SIGPWR
# Miscellaneous
SIGUSR1
SIGUSR2
SIGWINCH
SIGINFO
# Real-time signals
SIGRTMIN
SIGRTMAX