vm_qmodify Kernel Service

Purpose

Determines whether a mapped file has been changed.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/vmuser.h>

int vm_qmodify ( vmid)
vmid_t vmid;  

Parameter

Item Description
vmid Specifies the ID of the virtual memory object to check.

Description

The vm_qmodify kernel service performs two tests to determine if a mapped file has been changed:

If both tests are false, the vm_qmodify kernel service returns a value of False. Otherwise, this service returns a value of True.

If the virtual memory object modified bit was set, it is reset to 0. The page frame modified bits are not changed.

Execution Environment

The vm_qmodify kernel service can be called from the process environment only.

Return Values

Item Description
FALSE Indicates that the virtual memory object has not been modified.
TRUE Indicates that the virtual memory object has been modified.