[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

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

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

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

Implementation Specifics

The vm_qmodify kernel service is part of Base Operating System (BOS) Runtime.

Related Information

Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]