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