Multithreaded Programming Guide

Return Value

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


EINVAL

The value specified by attr or rwlockis invalid.