f_pthread_rwlockattr_init(rwattr)

Purpose

This function initializes a read-write lock attributes object specified by rwattr with the default value for all of the attributes.

Class

Function

Argument Type and Attributes

rwattr
TYPE(f_pthread_rwlockattr_t), INTENT(OUT)

Result Type and Attributes

INTEGER(4)

Result Value

On successful completion, this function returns 0. Otherwise, this function returns the following error.

ENOMEM
There is insufficient memory to initialize the read-write lock attributes object.
IBM Copyright 2003