Searched refs:act (Results 1 - 11 of 11) sorted by relevance

/PHP_5_4/Zend/
H A Dzend_signal.h92 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS_DC);
H A Dzend_signal.c195 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);
/PHP_5_4/ext/spl/examples/
H A Dkeyfilter.inc17 * Instances of this class act as a filter around iterators whose elements
/PHP_5_4/ext/spl/internal/
H A Dfilteriterator.inc18 * Instances of this class act as a filter around iterators. In other words
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_signals.c184 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...]
H A Dfpm_main.c113 struct sigaction act, old_term, old_quit, old_int; variable in typeref:struct:sigaction
/PHP_5_4/ext/pcntl/
H A Dphp_signal.c30 struct sigaction act,oact; local
34 act.sa_handler = func;
37 sigfillset(&act.sa_mask);
39 sigemptyset(&act.sa_mask);
41 act.sa_flags = 0;
44 act.sa_flags |= SA_INTERRUPT; /* SunOS */
48 act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */
52 if (zend_sigaction(signo, &act, &oact TSRMLS_CC) < 0)
54 if (sigaction(signo, &act, &oact) < 0)
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c97 struct sigaction act, old_term, old_quit, old_int; variable in typeref:struct:sigaction
2015 act.sa_flags = 0;
2016 act.sa_handler = fastcgi_cleanup;
2017 if (sigaction(SIGTERM, &act, &old_term) ||
2018 sigaction(SIGINT, &act, &old_int) ||
2019 sigaction(SIGQUIT, &act, &old_quit)
/PHP_5_4/ext/standard/
H A Dfile.c334 int act; local
344 act = operation & 3;
345 if (act < 1 || act > 3) {
356 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0);
357 if (php_stream_lock(stream, act)) {
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c2694 struct sigaction act, old_term, old_quit, old_int, local
2712 act.sa_flags = 0;
2713 act.sa_handler = lsapi_sigchild;
2714 if( sigaction( SIGCHLD, &act, &old_child ) )
2721 act.sa_flags = 0;
2722 act.sa_handler = lsapi_cleanup;
2723 if( sigaction( SIGTERM, &act, &old_term ) ||
2724 sigaction( SIGINT, &act, &old_int ) ||
2725 sigaction( SIGUSR1, &act, &old_usr1 ) ||
2726 sigaction( SIGQUIT, &act,
[all...]
H A Dlsapi_main.c898 struct sigaction act, old_term, old_quit, old_int, old_usr1; local
907 act.sa_flags = 0;
908 act.sa_handler = litespeed_cleanup;
909 if( sigaction( SIGTERM, &act, &old_term ) ||
910 sigaction( SIGINT, &act, &old_int ) ||
911 sigaction( SIGUSR1, &act, &old_usr1 ) ||
912 sigaction( SIGQUIT, &act, &old_quit )) {

Completed in 22 milliseconds