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

  man pages->OpenBSD man pages -> mincore (2)              



NAME    [Toc]    [Back]

     mincore - determine residency of memory pages

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/mman.h>

     mincore(void *addr, size_t len, char *vec);

DESCRIPTION    [Toc]    [Back]

     The mincore() system call allows a process to obtain  information about
     whether pages are core resident.  Here the current core residency of the
     pages is returned in the character array vec, with  a  value
of 1 meaning
     that the page is in-core.

RETURN VALUES    [Toc]    [Back]

     Upon  successful completion, a value of 0 is returned.  Otherwise, a value
     of -1 is returned and errno is set to indicate the error.

SEE ALSO    [Toc]    [Back]

     madvise(2), minherit(2),  mlock(2),  mprotect(2),  msync(2),

HISTORY    [Toc]    [Back]

     The mincore() function first appeared in 4.4BSD.

OpenBSD      3.6                           June      9,      1993
[ Back ]
 Similar pages
Name OS Title
manpath FreeBSD determine user's search path for man pages
manpath Linux determine search path for manual pages
mmap IRIX map pages of memory
mmap HP-UX map pages of memory
mpin IRIX lock pages in memory
munmap IRIX unmap pages of memory
munmap HP-UX unmap pages of memory
pmap_copy_page FreeBSD copy physical memory pages
mlock IRIX lock or unlock pages in memory
pmap_copy FreeBSD copy physical memory pages
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service