FreeBSD/sys/i386/ibcs2/ibcs2_util.c
/*
 * Search an alternate path before passing pathname arguments on
 * to system calls. Useful for keeping a separate 'emulation tree'.
 *
 * If cflag is set, we check if an attempt can be made to create
 * the named file, i.e. we check if the directory it should
 * be in exists.
 */
Search an alternate path before passing pathname arguments on
to system calls. Useful for keeping a separate 'emulation tree'.

If cflag is set, we check if an attempt can be made to create
the named file, i.e. we check if the directory it should
be in exists.
Search an alternate path before passing pathname arguments on to system calls . Useful for keeping a separate ' emulation tree ' . If cflag is set we check if an attempt can be made to create the named file i . e . we check if the directory it should be in exists .
int
ibcs2_emul_find(struct thread *td, char *path, enum uio_seg pathseg,
    char **pbuf, int cflag)
{
	return (kern_alternate_path(td, ibcs2_emul_path, path, pathseg, pbuf,
	    cflag, AT_FDCWD));
}
int ibcs2_emul_find ( struct thread * td , char * path , enum uio_seg pathseg , char * * pbuf , int cflag ) { return ( kern_alternate_path ( td , ibcs2_emul_path , path , pathseg , pbuf , cflag , AT_FDCWD ) ) ; }
Search an alternate path before passing pathname arguments on
 to system calls.
Search an alternate path before passing pathname arguments on to system calls .