Purpose
This function is used to obtain the value of the process-shared attribute from the initialized read-write lock attributes object specified by the argument rwattr. The current setting of this attribute will be returned in the argument pshared. pshared will contain one of the following values:
Class
Function
Argument Type and Attributes
On return from this function, the value of pshared will be one of the following:
Result Type and Attributes
INTEGER(4)
Result Value
If this function completes successfully, value 0 is returned and the value of the process-shared attribute of rwattr is stored into the object specified by the argument pshared. Otherwise, the following error will be returned: