Home
last modified time | relevance | path

Searched refs:siginfo (Results 1 – 5 of 5) sorted by relevance

/PHP-5.4/ext/pcntl/tests/
H A D002.phpt24 $signo = pcntl_sigwaitinfo(array(SIGTERM), $siginfo);
26 var_dump($signo === SIGTERM && $signo === $siginfo['signo']);
29 var_dump(($siginfo['code'] === SI_USER) || ($siginfo['code'] === SI_NOINFO));
31 var_dump($siginfo['code'] === SI_USER);
36 $signo = pcntl_sigwaitinfo(array((string)SIGCHLD), $siginfo);
40 var_dump($siginfo['code'] === CLD_KILLED);
42 var_dump($siginfo['signo'] === SIGCHLD);
44 var_dump($siginfo['uid'] === posix_getuid());
46 var_dump($siginfo['pid'] === $pid);
70 $siginfo = NULL;
[all …]
H A Dpcntl_alarm.phpt15 $siginfo = array();
16 var_dump(pcntl_sigtimedwait(array(SIGALRM),$siginfo,2) === SIGALRM);
/PHP-5.4/Zend/
H A Dzend_signal.c54 static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context TSRMLS_DC);
73 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context) in zend_signal_handler_defer() argument
86 zend_signal_handler(signo, siginfo, context TSRMLS_CC); in zend_signal_handler_defer()
92 …zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.conte… in zend_signal_handler_defer()
107 queue->zend_signal.siginfo = siginfo; in zend_signal_handler_defer()
126 zend_signal_handler(signo, siginfo, context TSRMLS_CC); in zend_signal_handler_defer()
148 zend_signal_handler_defer(zend_signal.signo, zend_signal.siginfo, zend_signal.context); in zend_signal_handler_unblock()
157 static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context TSRMLS_DC) in zend_signal_handler() argument
184 (*(void (*)(int, siginfo_t*, void*))p_sig.handler)(signo, siginfo, context); in zend_signal_handler()
H A Dzend_signal.h46 siginfo_t *siginfo; member
85 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
/PHP-5.4/ext/pcntl/
H A Dpcntl.c984 siginfo_t siginfo; in pcntl_sigwaitinfo() local
1022 signo = sigtimedwait(&set, &siginfo, &timeout); in pcntl_sigwaitinfo()
1024 signo = sigwaitinfo(&set, &siginfo); in pcntl_sigwaitinfo()
1035 if (!signo && siginfo.si_signo) { in pcntl_sigwaitinfo()
1036 signo = siginfo.si_signo; in pcntl_sigwaitinfo()
1046 add_assoc_long_ex(user_siginfo, "signo", sizeof("signo"), siginfo.si_signo); in pcntl_sigwaitinfo()
1047 add_assoc_long_ex(user_siginfo, "errno", sizeof("errno"), siginfo.si_errno); in pcntl_sigwaitinfo()
1048 add_assoc_long_ex(user_siginfo, "code", sizeof("code"), siginfo.si_code); in pcntl_sigwaitinfo()
1059 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid"), siginfo.si_pid); in pcntl_sigwaitinfo()
1071 add_assoc_long_ex(user_siginfo, "band", sizeof("band"), siginfo.si_band); in pcntl_sigwaitinfo()
[all …]

Completed in 18 milliseconds