pthread_rwlock_tryrdlock() returns zero if the lock for reading on the read-write lock object referenced by rwlock is acquired. If the lock is not acquired, an error number is returned to indicate the error.
EBUSY
Description:The read-write lock could not be acquired for reading because a writer holds the lock or was blocked on it.