FreeBSD/sys/kern/sys_procdesc.c
/*
 * Create a new process decriptor for the process that refers to it.
 */
Create a new process decriptor for the process that refers to it.
Create a new process decriptor for the process that refers to it .
int
procdesc_falloc(struct thread *td, struct file **resultfp, int *resultfd,
    int flags, struct filecaps *fcaps)
{
	int fflags;
	fflags = 0;
	if (flags & PD_CLOEXEC)
		fflags = O_CLOEXEC;
	return (falloc_caps(td, resultfp, resultfd, fflags, fcaps));
}
int procdesc_falloc ( struct thread * td , struct file * * resultfp , int * resultfd , int flags , struct filecaps * fcaps ) { int fflags ; fflags = 0 ; if ( flags & PD_CLOEXEC ) fflags = O_CLOEXEC ; return ( falloc_caps ( td , resultfp , resultfd , fflags , fcaps ) ) ; }
Create a new process decriptor for the process that refers to it.
Create a new process decriptor for the process that refers to it .