Lines Matching refs:user_siginfo

772 	zval            *user_set, *user_signo, *user_siginfo = NULL;  in pcntl_sigwaitinfo()  local
783 Z_PARAM_ZVAL(user_siginfo) in pcntl_sigwaitinfo()
791 Z_PARAM_ZVAL(user_siginfo) in pcntl_sigwaitinfo()
829 pcntl_siginfo_to_zval(signo, &siginfo, user_siginfo); in pcntl_sigwaitinfo()
849 static void pcntl_siginfo_to_zval(int signo, siginfo_t *siginfo, zval *user_siginfo) /* {{{ */ in pcntl_siginfo_to_zval() argument
851 if (signo > 0 && user_siginfo) { in pcntl_siginfo_to_zval()
852 user_siginfo = zend_try_array_init(user_siginfo); in pcntl_siginfo_to_zval()
853 if (!user_siginfo) { in pcntl_siginfo_to_zval()
857 add_assoc_long_ex(user_siginfo, "signo", sizeof("signo")-1, siginfo->si_signo); in pcntl_siginfo_to_zval()
858 add_assoc_long_ex(user_siginfo, "errno", sizeof("errno")-1, siginfo->si_errno); in pcntl_siginfo_to_zval()
859 add_assoc_long_ex(user_siginfo, "code", sizeof("code")-1, siginfo->si_code); in pcntl_siginfo_to_zval()
863 add_assoc_long_ex(user_siginfo, "status", sizeof("status")-1, siginfo->si_status); in pcntl_siginfo_to_zval()
865 add_assoc_double_ex(user_siginfo, "utime", sizeof("utime")-1, siginfo->si_utime); in pcntl_siginfo_to_zval()
868 add_assoc_double_ex(user_siginfo, "stime", sizeof("stime")-1, siginfo->si_stime); in pcntl_siginfo_to_zval()
870 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
871 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
875 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
876 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
883 add_assoc_double_ex(user_siginfo, "addr", sizeof("addr")-1, (zend_long)siginfo->si_addr); in pcntl_siginfo_to_zval()
887 add_assoc_long_ex(user_siginfo, "band", sizeof("band")-1, siginfo->si_band); in pcntl_siginfo_to_zval()
889 add_assoc_long_ex(user_siginfo, "fd", sizeof("fd")-1, siginfo->si_fd); in pcntl_siginfo_to_zval()
896 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
897 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()