@node pthread_rwlock_trywrlock
@subsection @code{pthread_rwlock_trywrlock}
@findex pthread_rwlock_trywrlock

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_rwlock_trywrlock.html}

Gnulib module: pthread-rwlock
@mindex pthread-rwlock

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, mingw, MSVC 14, Android 4.3.
But the provided replacement is just a dummy on some of these platforms:
Minix 3.1.8.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function returns @code{EDEADLK} instead of @code{EBUSY}
when the current thread already owns the lock for writing
on some platforms:
macOS 12.
@end itemize
