Lines Matching refs:siginfo

1164 	siginfo_t        siginfo;  in pcntl_sigwaitinfo()  local
1195 signo = sigtimedwait(&set, &siginfo, &timeout); in pcntl_sigwaitinfo()
1197 signo = sigwaitinfo(&set, &siginfo); in pcntl_sigwaitinfo()
1208 if (!signo && siginfo.si_signo) { in pcntl_sigwaitinfo()
1209 signo = siginfo.si_signo; in pcntl_sigwaitinfo()
1211 pcntl_siginfo_to_zval(signo, &siginfo, user_siginfo); in pcntl_sigwaitinfo()
1233 static void pcntl_siginfo_to_zval(int signo, siginfo_t *siginfo, zval *user_siginfo) /* {{{ */ in pcntl_siginfo_to_zval() argument
1242 add_assoc_long_ex(user_siginfo, "signo", sizeof("signo")-1, siginfo->si_signo); in pcntl_siginfo_to_zval()
1243 add_assoc_long_ex(user_siginfo, "errno", sizeof("errno")-1, siginfo->si_errno); in pcntl_siginfo_to_zval()
1244 add_assoc_long_ex(user_siginfo, "code", sizeof("code")-1, siginfo->si_code); in pcntl_siginfo_to_zval()
1248 add_assoc_long_ex(user_siginfo, "status", sizeof("status")-1, siginfo->si_status); in pcntl_siginfo_to_zval()
1250 add_assoc_double_ex(user_siginfo, "utime", sizeof("utime")-1, siginfo->si_utime); in pcntl_siginfo_to_zval()
1253 add_assoc_double_ex(user_siginfo, "stime", sizeof("stime")-1, siginfo->si_stime); in pcntl_siginfo_to_zval()
1255 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1256 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1260 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1261 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1268 add_assoc_double_ex(user_siginfo, "addr", sizeof("addr")-1, (zend_long)siginfo->si_addr); in pcntl_siginfo_to_zval()
1272 add_assoc_long_ex(user_siginfo, "band", sizeof("band")-1, siginfo->si_band); in pcntl_siginfo_to_zval()
1274 add_assoc_long_ex(user_siginfo, "fd", sizeof("fd")-1, siginfo->si_fd); in pcntl_siginfo_to_zval()
1281 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1282 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1393 static void pcntl_signal_handler(int signo, siginfo_t *siginfo, void *context) in pcntl_signal_handler() argument
1411 psig->siginfo = *siginfo; in pcntl_signal_handler()
1463 pcntl_siginfo_to_zval(queue->signo, &queue->siginfo, &params[1]); in pcntl_signal_dispatch()