1*62909Sbostic.\" Copyright (c) 1991, 1993 2*62909Sbostic.\" The Regents of the University of California. All rights reserved. 349898Smckusick.\" 450801Scael.\" %sccs.include.redist.roff% 549898Smckusick.\" 6*62909Sbostic.\" @(#)mincore.2 8.1 (Berkeley) 06/09/93 749898Smckusick.\" 850801Scael.Dd 950801Scael.Dt MINCORE 2 1050801Scael.Os 1150801Scael.Sh NAME 1250801Scael.Nm mincore 1350801Scael.Nd get advise about use of memory 1450801Scael.Sh SYNOPSIS 1550801Scael.Fn mincore "caddr_t addr" "int len" "char *vec" 1650801Scael.Sh DESCRIPTION 1750801ScaelThe 1850801Scael.Fn mincore 1950801Scaelsystem call 2049898Smckusickallows a process to obtain information about whether pages are 2149898Smckusickcore resident. 2249898SmckusickHere the current core residency of the pages is returned 2350801Scaelin the character array 2450801Scael.Fa vec , 2550801Scaelwith a value of 1 meaning 2649898Smckusickthat the page is in-core. 2750801Scael.Sh SEE ALSO 2850801Scael.Xr msync 2 , 2950801Scael.Xr munmap 2 , 3050801Scael.Xr mprotect 2 , 3150801Scael.Xr madvise 2 , 3250801Scael.Sh HISTORY 3350801ScaelThe 3450801Scael.Fn mincore 3562908Sbosticfunction first appeared in 4.4BSD. 36