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

/PHP_TRUNK/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.c1302 int signo;
1311 signo = SIGALRM;
1315 signo = SIGPROF;
1320 zend_signal(signo, zend_timeout TSRMLS_CC);
1324 signal(signo, zend_timeout);
1326 sigaddset(&sigset, signo);
/PHP_TRUNK/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.c162 static void fcgi_signal_handler(int signo) argument
164 if (signo == SIGUSR1 || signo == SIGTERM) {
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dreadelf.c729 uint32_t signo; local
743 (void)memcpy(&signo, &nbuf[doff + 0x08],
744 sizeof(signo));
746 elf_getu32(swap, signo)) == -1)
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c68 ZEND_ARG_INFO(0, signo)
834 /* {{{ proto bool pcntl_signal(int signo, callback handle [, bool restart_syscalls])
840 zend_long signo; local
843 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz|b", &signo, &handle, &restart_syscalls) == FAILURE) {
847 if (signo < 1 || signo > 32) {
871 if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) {
888 if (zend_hash_index_update(&PCNTL_G(php_signal_table), signo, handle)) {
892 if (php_signal4(signo, pcntl_signal_handler, (int) restart_syscalls, 1) == SIG_ERR) {
915 zend_long how, signo; local
974 int signo; local
1191 pcntl_signal_handler(int signo) argument
[all...]
H A Dphp_pcntl.h64 zend_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);
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c373 static void fcgi_signal_handler(int signo) argument
375 if (signo == SIGUSR1 || signo == SIGTERM) {
/PHP_TRUNK/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_TRUNK/sapi/phpdbg/
H A Dphpdbg.c696 static inline void phpdbg_sigint_handler(int signo) /* {{{ */ argument

Completed in 34 milliseconds