|
Purpose
|
Retrieves the values of a vgroup attribute. |
|
Return value
|
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise. |
|
Description
|
Vgetattr retrieves the values of the attribute identified by its index, attr_index, into the buffer attr_values for the vgroup identified by the parameter vgroup_id. |
|
|
The valid values of the parameter attr_index range from 0 to the total number of vgroup attributes - 1. The total number of attributes can be obtained using Vnattrs. To determine the amount of memory sufficient to hold the attribute values, the user can obtain the number of attribute values and the attribute value size using Vattrinfo. |