Multithreaded Programming Guide

Return Values

If successful, pthread_rwlockattr_init() returns zero. Otherwise, an error number is returned to indicate the error.


ENOMEM

Insufficient memory exists to initialize the rwlock attributes object. .