Lines Matching refs:siginfo

419 	siginfo_t siginfo;  in PHP_FUNCTION()  local
421 int status = waitid((idtype_t) idtype, (id_t) id, &siginfo, (int) options); in PHP_FUNCTION()
428 pcntl_siginfo_to_zval(SIGCHLD, &siginfo, user_siginfo); in PHP_FUNCTION()
987 siginfo_t siginfo; in PHP_FUNCTION() local
988 int signal_no = sigwaitinfo(&set, &siginfo); in PHP_FUNCTION()
997 if (!signal_no && siginfo.si_signo) { in PHP_FUNCTION()
998 signal_no = siginfo.si_signo; in PHP_FUNCTION()
1001 pcntl_siginfo_to_zval(signal_no, &siginfo, user_siginfo); in PHP_FUNCTION()
1046 siginfo_t siginfo; in PHP_FUNCTION() local
1050 int signal_no = sigtimedwait(&set, &siginfo, &timeout); in PHP_FUNCTION()
1060 if (!signal_no && siginfo.si_signo) { in PHP_FUNCTION()
1061 signal_no = siginfo.si_signo; in PHP_FUNCTION()
1064 pcntl_siginfo_to_zval(signal_no, &siginfo, user_siginfo); in PHP_FUNCTION()
1071 static void pcntl_siginfo_to_zval(int signo, siginfo_t *siginfo, zval *user_siginfo) /* {{{ */ in pcntl_siginfo_to_zval() argument
1079 add_assoc_long_ex(user_siginfo, "signo", sizeof("signo")-1, siginfo->si_signo); in pcntl_siginfo_to_zval()
1080 add_assoc_long_ex(user_siginfo, "errno", sizeof("errno")-1, siginfo->si_errno); in pcntl_siginfo_to_zval()
1081 add_assoc_long_ex(user_siginfo, "code", sizeof("code")-1, siginfo->si_code); in pcntl_siginfo_to_zval()
1085 add_assoc_long_ex(user_siginfo, "status", sizeof("status")-1, siginfo->si_status); in pcntl_siginfo_to_zval()
1087 add_assoc_double_ex(user_siginfo, "utime", sizeof("utime")-1, siginfo->si_utime); in pcntl_siginfo_to_zval()
1090 add_assoc_double_ex(user_siginfo, "stime", sizeof("stime")-1, siginfo->si_stime); in pcntl_siginfo_to_zval()
1092 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1093 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1097 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1098 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1105 add_assoc_double_ex(user_siginfo, "addr", sizeof("addr")-1, (zend_long)siginfo->si_addr); in pcntl_siginfo_to_zval()
1109 add_assoc_long_ex(user_siginfo, "band", sizeof("band")-1, siginfo->si_band); in pcntl_siginfo_to_zval()
1111 add_assoc_long_ex(user_siginfo, "fd", sizeof("fd")-1, siginfo->si_fd); in pcntl_siginfo_to_zval()
1119 if (siginfo->si_code == TRAP_CAP) { in pcntl_siginfo_to_zval()
1120 … add_assoc_long_ex(user_siginfo, "syscall", sizeof("syscall")-1, (zend_long)siginfo->si_syscall); in pcntl_siginfo_to_zval()
1122 add_assoc_long_ex(user_siginfo, "trapno", sizeof("trapno")-1, (zend_long)siginfo->si_trapno); in pcntl_siginfo_to_zval()
1132 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1133 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1282 static void pcntl_signal_handler(int signo, siginfo_t *siginfo, void *context) in pcntl_signal_handler() argument
1298 psig->siginfo = *siginfo; in pcntl_signal_handler()
1353 pcntl_siginfo_to_zval(queue->signo, &queue->siginfo, &params[1]); in pcntl_signal_dispatch()