Home
last modified time | relevance | path

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

/PHP-7.1/ext/pcntl/
H A Dphp_signal.c30 struct sigaction act,oact; in php_signal4() local
33 act.sa_sigaction = func; in php_signal4()
35 act.sa_handler = func; in php_signal4()
38 sigfillset(&act.sa_mask); in php_signal4()
40 sigemptyset(&act.sa_mask); in php_signal4()
42 act.sa_flags = 0; in php_signal4()
44 act.sa_flags |= SA_SIGINFO; in php_signal4()
48 act.sa_flags |= SA_INTERRUPT; /* SunOS */ in php_signal4()
52 act.sa_flags |= SA_RESTART; /* SVR4, 4.3+BSD */ in php_signal4()
55 if (zend_sigaction(signo, &act, &oact) < 0) { in php_signal4()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_signals.c183 struct sigaction act; in fpm_signals_init_main() local
200 memset(&act, 0, sizeof(act)); in fpm_signals_init_main()
201 act.sa_handler = sig_handler; in fpm_signals_init_main()
202 sigfillset(&act.sa_mask); in fpm_signals_init_main()
204 if (0 > sigaction(SIGTERM, &act, 0) || in fpm_signals_init_main()
205 0 > sigaction(SIGINT, &act, 0) || in fpm_signals_init_main()
206 0 > sigaction(SIGUSR1, &act, 0) || in fpm_signals_init_main()
220 struct sigaction act, act_dfl; in fpm_signals_init_child() local
222 memset(&act, 0, sizeof(act)); in fpm_signals_init_child()
225 act.sa_handler = &sig_soft_quit; in fpm_signals_init_child()
[all …]
H A Dfpm_main.c114 struct sigaction act, old_term, old_quit, old_int; variable
/PHP-7.1/Zend/
H A Dzend_signal.h97 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact);
110 # define zend_sigaction(signo, act, oldact) sigaction(signo, act, oldact) argument
H A Dzend_signal.c230 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact) in zend_sigaction() argument
240 if (act != NULL) { in zend_sigaction()
241 SIGG(handlers)[signo-1].flags = act->sa_flags; in zend_sigaction()
242 if (act->sa_flags & SA_SIGINFO) { in zend_sigaction()
243 SIGG(handlers)[signo-1].handler = (void *) act->sa_sigaction; in zend_sigaction()
245 SIGG(handlers)[signo-1].handler = (void *) act->sa_handler; in zend_sigaction()
252 sa.sa_flags = SA_SIGINFO | (act->sa_flags & SA_FLAGS_MASK); in zend_sigaction()
H A Dzend_execute_API.c1339 struct sigaction act; in zend_set_timeout_ex()
1341 act.sa_handler = zend_timeout_handler; in zend_set_timeout_ex()
1342 sigemptyset(&act.sa_mask); in zend_set_timeout_ex()
1343 act.sa_flags = SA_RESETHAND | SA_NODEFER; in zend_set_timeout_ex()
1344 sigaction(signo, &act, NULL); in zend_set_timeout_ex()
/PHP-7.1/ext/soap/tests/bugs/
H A Dbug44882.phpt11 public function __doRequest($req, $loc, $act, $ver, $one_way = 0)
/PHP-7.1/ext/spl/examples/
H A Dkeyfilter.inc17 * Instances of this class act as a filter around iterators whose elements
/PHP-7.1/sapi/litespeed/
H A Dlsapi_main.c1163 struct sigaction act, old_term, old_quit, old_int, old_usr1; in start_children() local
1172 act.sa_flags = 0; in start_children()
1173 act.sa_handler = litespeed_cleanup; in start_children()
1174 if( sigaction( SIGTERM, &act, &old_term ) || in start_children()
1175 sigaction( SIGINT, &act, &old_int ) || in start_children()
1176 sigaction( SIGUSR1, &act, &old_usr1 ) || in start_children()
1177 sigaction( SIGQUIT, &act, &old_quit )) { in start_children()
H A Dlsapilib.c2999 struct sigaction act, old_term, old_quit, old_int, in lsapi_prefork_server_accept() local
3017 act.sa_flags = 0; in lsapi_prefork_server_accept()
3018 act.sa_handler = lsapi_sigchild; in lsapi_prefork_server_accept()
3019 if( sigaction( SIGCHLD, &act, &old_child ) ) in lsapi_prefork_server_accept()
3026 act.sa_flags = 0; in lsapi_prefork_server_accept()
3027 act.sa_handler = lsapi_cleanup; in lsapi_prefork_server_accept()
3028 if( sigaction( SIGTERM, &act, &old_term ) || in lsapi_prefork_server_accept()
3029 sigaction( SIGINT, &act, &old_int ) || in lsapi_prefork_server_accept()
3030 sigaction( SIGUSR1, &act, &old_usr1 ) || in lsapi_prefork_server_accept()
3031 sigaction( SIGQUIT, &act, &old_quit )) in lsapi_prefork_server_accept()
/PHP-7.1/ext/spl/internal/
H A Dfilteriterator.inc18 * Instances of this class act as a filter around iterators. In other words
/PHP-7.1/ext/standard/
H A Dfile.c340 int act; in PHP_FUNCTION() local
350 act = operation & 3; in PHP_FUNCTION()
351 if (act < 1 || act > 3) { in PHP_FUNCTION()
362 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); in PHP_FUNCTION()
363 if (php_stream_lock(stream, act)) { in PHP_FUNCTION()
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c101 struct sigaction act, old_term, old_quit, old_int; variable
2109 act.sa_flags = 0;
2110 act.sa_handler = fastcgi_cleanup;
2111 if (sigaction(SIGTERM, &act, &old_term) ||
2112 sigaction(SIGINT, &act, &old_int) ||
2113 sigaction(SIGQUIT, &act, &old_quit)
/PHP-7.1/ext/gd/tests/
H A DRochester-Regular.otf.LICENSE.txt170 License. However, in accepting such obligations, You may act only
/PHP-7.1/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-7.1/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-7.1/ext/pcre/pcrelib/doc/
H A Dpcre.txt7318 Verbs that act immediately
7320 The following verbs act as soon as they are encountered. They may not
7407 Verbs that act after backtracking
8037 The following act immediately they are reached:
8043 The following act only when a subsequent match failure causes a back-

Completed in 127 milliseconds