| /PHP_TRUNK/Zend/ |
| H A D | zend_signal.c | 195 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS_DC) argument 205 if (act != NULL) { 206 SIGG(handlers)[signo-1].flags = act->sa_flags; 207 if (act->sa_flags & SA_SIGINFO) { 208 SIGG(handlers)[signo-1].handler = (void *) act->sa_sigaction; 210 SIGG(handlers)[signo-1].handler = (void *) act->sa_handler; 213 sa.sa_flags = SA_SIGINFO | (act->sa_flags & SA_FLAGS_MASK);
|
| H A D | zend_signal.h | 92 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS_DC);
|
| /PHP_TRUNK/ext/spl/examples/ |
| H A D | keyfilter.inc | 17 * Instances of this class act as a filter around iterators whose elements
|
| /PHP_TRUNK/ext/spl/internal/ |
| H A D | filteriterator.inc | 18 * Instances of this class act as a filter around iterators. In other words
|
| /PHP_TRUNK/ext/pcntl/ |
| H A D | php_signal.c | 30 struct sigaction act,oact; local 34 act.sa_handler = func; 36 sigfillset(&act.sa_mask); 38 sigemptyset(&act.sa_mask); 40 act.sa_flags = 0; 43 act.sa_flags |= SA_INTERRUPT; /* SunOS */ 47 act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ 51 if (zend_sigaction(signo, &act, &oact TSRMLS_CC) < 0) 53 if (sigaction(signo, &act, &oact) < 0)
|
| /PHP_TRUNK/sapi/litespeed/ |
| H A D | lsapi_main.c | 639 struct sigaction act, old_term, old_quit, old_int, old_usr1; local 648 act.sa_flags = 0; 649 act.sa_handler = litespeed_cleanup; 650 if( sigaction( SIGTERM, &act, &old_term ) || 651 sigaction( SIGINT, &act, &old_int ) || 652 sigaction( SIGUSR1, &act, &old_usr1 ) || 653 sigaction( SIGQUIT, &act, &old_quit )) {
|
| H A D | lsapilib.c | 1788 struct sigaction act, old_term, old_quit, old_int, local 1803 act.sa_flags = 0; 1804 act.sa_handler = lsapi_sigchild; 1805 if( sigaction( SIGCHLD, &act, &old_child ) ) { 1811 act.sa_flags = 0; 1812 act.sa_handler = lsapi_cleanup; 1813 if( sigaction( SIGTERM, &act, &old_term ) || 1814 sigaction( SIGINT, &act, &old_int ) || 1815 sigaction( SIGUSR1, &act, &old_usr1 ) || 1816 sigaction( SIGQUIT, &act, [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | file.c | 335 int act; local 345 act = operation & 3; 346 if (act < 1 || act > 3) { 357 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); 358 if (php_stream_lock(stream, act)) {
|
| /PHP_TRUNK/sapi/cgi/ |
| H A D | cgi_main.c | 97 struct sigaction act, old_term, old_quit, old_int; variable in typeref:struct:sigaction 2014 act.sa_flags = 0; 2015 act.sa_handler = fastcgi_cleanup; 2016 if (sigaction(SIGTERM, &act, &old_term) || 2017 sigaction(SIGINT, &act, &old_int) || 2018 sigaction(SIGQUIT, &act, &old_quit)
|
| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm_main.c | 113 struct sigaction act, old_term, old_quit, old_int; variable in typeref:struct:sigaction
|
| H A D | fpm_signals.c | 184 struct sigaction act; local 201 memset(&act, 0, sizeof(act)); 202 act.sa_handler = sig_handler; 203 sigfillset(&act.sa_mask); 205 if (0 > sigaction(SIGTERM, &act, 0) || 206 0 > sigaction(SIGINT, &act, 0) || 207 0 > sigaction(SIGUSR1, &act, 0) || 208 0 > sigaction(SIGUSR2, &act, 0) || 209 0 > sigaction(SIGCHLD, &act, 221 struct sigaction act, act_dfl; local [all...] |