Multithreaded Programming Guide

pthread_rwlock_destroy Return Values

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


EINVAL

Description:

The value specified by attr or rwlock is invalid.