xref: /original-bsd/lib/libc/sys/mincore.2 (revision f955cb91)
1.\" Copyright (c) 1991, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)mincore.2	6.2 (Berkeley) 08/07/91
7.\"
8.Dd
9.Dt MINCORE 2
10.Os
11.Sh NAME
12.Nm mincore
13.Nd get advise about use of memory
14.Sh SYNOPSIS
15.Fn mincore "caddr_t addr" "int len" "char *vec"
16.Sh DESCRIPTION
17The
18.Fn mincore
19system call
20allows a process to obtain information about whether pages are
21core resident.
22Here the current core residency of the pages is returned
23in the character array
24.Fa vec ,
25with a value of 1 meaning
26that the page is in-core.
27.Sh SEE ALSO
28.Xr msync 2 ,
29.Xr munmap 2 ,
30.Xr mprotect 2 ,
31.Xr madvise 2 ,
32.Sh HISTORY
33The
34.Fn mincore
35function call is
36.Ud .
37