Retrieves Virtual Memory Manager information.
Standard C Library (libc.a)
int vmgetinfo(void *out, int command, int arg)
The vmgetinfo subroutine returns the current value of certain Virtual Memory Manager parameters.
This subroutine is part of the Base Operating System (BOS) Runtime.
|arg||Additional parameter which depends on the command parameter.|
|command||Specifies which information should be returned. The command
parameter has the following valid value:
|out||Specifies the address where VMM information should be returned.|
If the vmgetinfo subroutine is successful, a value of 0 is returned. Otherwise, a value of -1 is returned, and the errno global variable is set to indicate the error.
The vmgetinfo does not succeed if the following are true:
|EFAULT||The copy operation to the buffer was not successful.|
|ENOSYS||The command parameter is not valid (or not yet implemented).|