*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vm_map_madvise (9)              
Title
Content
Arch
Section
 

vm_map_madvise(9)

Contents


NAME    [Toc]    [Back]

     vm_map_madvise -- apply advice about use of memory to map entries

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/vm_map.h>

     int
     vm_map_madvise(vm_map_t map, vm_offset_t start, vm_offset_t end,
	 int behav);

DESCRIPTION    [Toc]    [Back]

     The vm_map_madvise() function applies the flags behav to the entries
     within map between start and end.

     Advisories are classified as either those affecting the vm_map_entry
     structure, or those affecting the underlying objects.

     The vm_map_madvise() function is used by the madvise() system call.

RETURN VALUES    [Toc]    [Back]

     The vm_map_madvise() function returns 0 if successful.  If the behav
     argument was not recognised, KERN_INVALID_ARGUMENT is returned.

SEE ALSO    [Toc]    [Back]

      
      
     madvise(2), vm_map(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Bruce M Simpson <[email protected]>.


				 July 19, 2003
[ Back ]
 Similar pages
Name OS Title
madvise FreeBSD give advice about use of memory
madvise OpenBSD give advice about use of memory
posix_madvise FreeBSD give advice about use of memory
madvise NetBSD give advice about use of memory
madvise Linux give advice about use of memory
madvise IRIX give advice about handling memory
vm_map_protect FreeBSD apply protection bits to a virtual memory region
nsysmap64 HP-UX number of entries in a kernel dynamic memory allocation map
nsysmap HP-UX number of entries in a kernel dynamic memory allocation map
man IRIX print entries from the on-line reference manuals; find manual entries by keyword
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service