Determines whether a mapped file has been changed.
#include <sys/types.h> #include <sys/errno.h> #include <sys/vmuser.h>
int vm_qmodify (vmid) vmid_t vmid;
vmid | Specifies the ID of the virtual memory object to check. |
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.
The vm_qmodify kernel service can be called from the process environment only.
FALSE | Indicates that the virtual memory object has not been modified. |
TRUE | Indicates that the virtual memory object has been modified. |
The vm_qmodify kernel service is part of Base Operating System (BOS) Runtime.
Memory Kernel Services and Understanding Virtual Memory Manager Interfaces in AIX Kernel Extensions and Device Support Programming Concepts.