Searched refs:signo (Results 1 - 15 of 15) sorted by relevance

/PHP_5_6/Zend/
H A Dzend_signal.c54 static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context TSRMLS_DC);
55 static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*) TSRMLS_DC);
73 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context) argument
86 zend_signal_handler(signo, siginfo, context TSRMLS_CC);
92 zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.context TSRMLS_CC);
95 queue->zend_signal.signo = 0;
106 queue->zend_signal.signo = signo;
120 zend_output_debug_string(0, "zend_signal: not enough queue storage, lost signal (%d)", signo);
126 zend_signal_handler(signo, siginf
157 zend_signal_handler(int signo, siginfo_t *siginfo, void *context TSRMLS_DC) argument
195 zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS_DC) argument
233 zend_signal(int signo, void (*handler)(int) TSRMLS_DC) argument
249 zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*) TSRMLS_DC) argument
347 int signo; local
[all...]
H A Dzend_signal.h45 int signo; member in struct:_zend_signal_t
85 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
91 ZEND_API int zend_signal(int signo, void (*handler)(int) TSRMLS_DC);
92 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS_DC);
95 #define zend_sigprocmask(signo, set, oldset) tsrm_sigmask((signo), (set), (oldset))
97 #define zend_sigprocmask(signo, set, oldset) sigprocmask((signo), (set), (oldset))
H A Dzend_execute_API.c1374 int signo; local
1383 signo = SIGALRM;
1387 signo = SIGPROF;
1392 zend_signal(signo, zend_timeout TSRMLS_CC);
1396 signal(signo, zend_timeout);
1398 sigaddset(&sigset, signo);
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_process_ctl.c146 void fpm_pctl_kill_all(int signo) /* {{{ */ argument
155 int res = kill(child->pid, signo);
158 child->wp->config->name, signo,
159 fpm_signal_names[signo] ? fpm_signal_names[signo] : "", (int) child->pid);
H A Dfpm_process_ctl.h23 void fpm_pctl_kill_all(int signo);
H A Dfpm_signals.c142 static void sig_soft_quit(int signo) /* {{{ */ argument
156 static void sig_handler(int signo) /* {{{ */ argument
176 s = sig_chars[signo];
H A Dfastcgi.c163 static void fcgi_signal_handler(int signo) argument
165 if (signo == SIGUSR1 || signo == SIGTERM) {
/PHP_5_6/ext/pcntl/
H A Dphp_pcntl.h64 long signo; member in struct:php_pcntl_pending_signal
H A Dphp_signal.c28 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) argument
41 if (signo == SIGALRM || (! restart)) {
51 if (zend_sigaction(signo, &act, &oact TSRMLS_CC) < 0)
53 if (sigaction(signo, &act, &oact) < 0)
62 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) argument
64 return php_signal4(signo, func, restart, 0);
H A Dphp_signal.h33 Sigfunc *php_signal(int signo, Sigfunc *func, int restart);
34 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
H A Dpcntl.c68 ZEND_ARG_INFO(0, signo)
839 /* {{{ proto bool pcntl_signal(int signo, callback handle [, bool restart_syscalls])
845 long signo; local
848 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz|b", &signo, &handle, &restart_syscalls) == FAILURE) {
852 if (signo < 1 || signo > 32) {
876 if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) {
893 zend_hash_index_update(&PCNTL_G(php_signal_table), signo, (void **) &handle, sizeof(zval *), (void **) &dest_handle); local
896 if (php_signal4(signo, pcntl_signal_handler, (int) restart_syscalls, 1) == SIG_ERR) {
919 long how, signo; local
983 int signo; local
1204 pcntl_signal_handler(int signo) argument
[all...]
/PHP_5_6/sapi/cgi/
H A Dfastcgi.c374 static void fcgi_signal_handler(int signo) argument
376 if (signo == SIGUSR1 || signo == SIGTERM) {
/PHP_5_6/ext/fileinfo/libmagic/
H A Dreadelf.c736 uint32_t signo; local
750 (void)memcpy(&signo, &nbuf[doff + 0x08],
751 sizeof(signo));
753 elf_getu32(swap, signo)) == -1)
/PHP_5_6/sapi/litespeed/
H A Dlsapilib.c200 static void lsapi_signal(int signo, sighandler_t handler) argument
204 sigaction(signo, NULL, &sa);
211 sigaction(signo, &sa, NULL);
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg.c839 static inline void phpdbg_sigint_handler(int signo) /* {{{ */ argument

Completed in 78 milliseconds