Lines Matching refs:retval
284 vfork(proc_t parent_proc, __unused struct vfork_args *uap, int32_t *retval)
290 retval[1] = 0;
295 retval[0] = child_proc->p_pid;
296 retval[1] = 1; /* flag child return for user space */
708 * retval System call return value array
717 vfork_return(proc_t child_proc, int32_t *retval, int rval)
747 if (retval) {
748 retval[0] = rval;
749 retval[1] = 0; /* mark parent */
855 * retval Return value
883 fork(proc_t parent_proc, __unused struct fork_args *uap, int32_t *retval)
888 retval[1] = 0; /* flag parent return for user space */
896 retval[0] = child_proc->p_pid;