Lines Matching defs:retval
276 vfork(proc_t parent_proc, __unused struct vfork_args *uap, int32_t *retval)
282 retval[1] = 0;
291 retval[0] = child_proc->p_pid;
292 retval[1] = 1; /* flag child return for user space */
688 * retval System call return value array
697 vfork_return(proc_t child_proc, int32_t *retval, int rval)
727 if (retval) {
728 retval[0] = rval;
729 retval[1] = 0; /* mark parent */
836 * retval Return value
864 fork(proc_t parent_proc, __unused struct fork_args *uap, int32_t *retval)
869 retval[1] = 0; /* flag parent return for user space */
877 retval[0] = child_proc->p_pid;