Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VOP_MMAP(9)	       FreeBSD Kernel Developer's Manual	   VOP_MMAP(9)

NAME
     VOP_MMAP -- map a file into memory

SYNOPSIS
     #include <sys/vnode.h>

     int
     VOP_MMAP(struct vnode *vp,	int fflags, struct ucred *cred,
	 struct	proc *p);

DESCRIPTION
     Map the contents of a file	into memory using the VM system.

     Its arguments are:

     vp	     the vnode of the file

     fflags  some flags	???

     cred    the caller's credentials

     p	     the calling process

     Most filesystems do not implement this entry point.

PSEUDOCODE
     int
     vop_mmap(struct vnode *vp,	int fflags,
		struct ucred *cred, struct proc	*p)
     {
	 return	EINVAL;
     }

SEE ALSO
     vnode(9)

AUTHORS
     This man page was written by Doug Rabson.

FreeBSD	11.1			 July 24, 1996			  FreeBSD 11.1

NAME | SYNOPSIS | DESCRIPTION | PSEUDOCODE | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=VOP_MMAP&sektion=9&manpath=FreeBSD+2.2.1-RELEASE>

home | help