PMGETMMAPINFO(3)
PM Programmer's Manual
PMGETMMAPINFO(3)
NAME
pmGetMmapInfo - get a list of mmap(2)'ed regions by PM subsystem

SYNOPSIS
int pmGetMmapInfo(pmMmapInfo *mip, int *sizep);

ARGUMENTS
pmMmapInfo * mip
OUT
mmap information of all contexts
int * sizep
IN
Number of entries in the array
OUT
Number of all mmap info entries

IMPLEMENTATION LEVEL
OPTIONAL (CHECKPOINT)

DESCRIPTION
pmGetMmapInfo() returns a list of mmap(2)'ed regions by PM subsystem.
It always stores the number of all mmap info entries in *sizep and returns ENOSPC if the number of entries of the array is too small.

RETURN VALUES
PM_SUCCESS Success
ENOSPC Number of array entries is too small
EINVAL Number of array entries is less than or equal to zero


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.