Home
last modified time | relevance | path

Searched refs:act (Results 1 – 17 of 17) sorted by relevance

/PHP-5.4/ext/pcntl/
H A Dphp_signal.c30 struct sigaction act,oact; in php_signal4() local
34 act.sa_handler = func; in php_signal4()
37 sigfillset(&act.sa_mask); in php_signal4()
39 sigemptyset(&act.sa_mask); in php_signal4()
41 act.sa_flags = 0; in php_signal4()
44 act.sa_flags |= SA_INTERRUPT; /* SunOS */ in php_signal4()
48 act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ in php_signal4()
52 if (zend_sigaction(signo, &act, &oact TSRMLS_CC) < 0) in php_signal4()
54 if (sigaction(signo, &act, &oact) < 0) in php_signal4()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_signals.c184 struct sigaction act; in fpm_signals_init_main() local
201 memset(&act, 0, sizeof(act)); in fpm_signals_init_main()
202 act.sa_handler = sig_handler; in fpm_signals_init_main()
203 sigfillset(&act.sa_mask); in fpm_signals_init_main()
205 if (0 > sigaction(SIGTERM, &act, 0) || in fpm_signals_init_main()
206 0 > sigaction(SIGINT, &act, 0) || in fpm_signals_init_main()
207 0 > sigaction(SIGUSR1, &act, 0) || in fpm_signals_init_main()
221 struct sigaction act, act_dfl; in fpm_signals_init_child() local
223 memset(&act, 0, sizeof(act)); in fpm_signals_init_child()
226 act.sa_handler = &sig_soft_quit; in fpm_signals_init_child()
[all …]
H A Dfpm_main.c113 struct sigaction act, old_term, old_quit, old_int; variable
/PHP-5.4/Zend/
H A Dzend_signal.c195 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS… in zend_sigaction() argument
205 if (act != NULL) { in zend_sigaction()
206 SIGG(handlers)[signo-1].flags = act->sa_flags; in zend_sigaction()
207 if (act->sa_flags & SA_SIGINFO) { in zend_sigaction()
208 SIGG(handlers)[signo-1].handler = (void *) act->sa_sigaction; in zend_sigaction()
210 SIGG(handlers)[signo-1].handler = (void *) act->sa_handler; in zend_sigaction()
213 sa.sa_flags = SA_SIGINFO | (act->sa_flags & SA_FLAGS_MASK); in zend_sigaction()
H A Dzend_signal.h92 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS…
/PHP-5.4/sapi/litespeed/
H A Dlsapi_main.c898 struct sigaction act, old_term, old_quit, old_int, old_usr1; in start_children() local
907 act.sa_flags = 0; in start_children()
908 act.sa_handler = litespeed_cleanup; in start_children()
909 if( sigaction( SIGTERM, &act, &old_term ) || in start_children()
910 sigaction( SIGINT, &act, &old_int ) || in start_children()
911 sigaction( SIGUSR1, &act, &old_usr1 ) || in start_children()
912 sigaction( SIGQUIT, &act, &old_quit )) { in start_children()
H A Dlsapilib.c2713 struct sigaction act, old_term, old_quit, old_int, in lsapi_prefork_server_accept() local
2731 act.sa_flags = 0; in lsapi_prefork_server_accept()
2732 act.sa_handler = lsapi_sigchild; in lsapi_prefork_server_accept()
2733 if( sigaction( SIGCHLD, &act, &old_child ) ) in lsapi_prefork_server_accept()
2740 act.sa_flags = 0; in lsapi_prefork_server_accept()
2741 act.sa_handler = lsapi_cleanup; in lsapi_prefork_server_accept()
2742 if( sigaction( SIGTERM, &act, &old_term ) || in lsapi_prefork_server_accept()
2743 sigaction( SIGINT, &act, &old_int ) || in lsapi_prefork_server_accept()
2744 sigaction( SIGUSR1, &act, &old_usr1 ) || in lsapi_prefork_server_accept()
2745 sigaction( SIGQUIT, &act, &old_quit )) in lsapi_prefork_server_accept()
/PHP-5.4/ext/soap/tests/bugs/
H A Dbug44882.phpt11 public function __doRequest($req, $loc, $act, $ver, $one_way = 0)
/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/ext/standard/
H A Dfile.c334 int act; in PHP_FUNCTION() local
344 act = operation & 3; in PHP_FUNCTION()
345 if (act < 1 || act > 3) { in PHP_FUNCTION()
356 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); in PHP_FUNCTION()
357 if (php_stream_lock(stream, act)) { in PHP_FUNCTION()
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c97 struct sigaction act, old_term, old_quit, old_int; variable
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/mbstring/libmbfl/
H A DLICENSE143 covered by this License; they are outside its scope. The act of
158 You may charge a fee for the physical act of transferring a copy,
/PHP-5.4/ext/pcre/pcrelib/testdata/
H A Dtestinput14762 /--- COMMIT at the start of a pattern should act like an anchor. Again,
H A Dtestoutput17934 /--- COMMIT at the start of a pattern should act like an anchor. Again,
/PHP-5.4/ext/pcre/pcrelib/doc/
H A Dpcre.txt7294 Verbs that act immediately
7296 The following verbs act as soon as they are encountered. They may not
7383 Verbs that act after backtracking
8013 The following act immediately they are reached:
8019 The following act only when a subsequent match failure causes a back-
/PHP-5.4/
H A DNEWS4526 - Changed round() to act more intuitively when rounding to a certain precision

Completed in 133 milliseconds