please learn how to use errno. When a call fails in posix it
returns a
negative value, usually -1, and sets errno. you must test errno for
EPERM. not the return value.
quoting man pthread_rwlock_unlock:
If successful, the pthread_rwlock_unlock() function shall return zero;
On Mon, Jul 23, 2007 at 11:05:09AM +0200, Tim Blechmann wrote:
please learn how to use errno. When a call fails in posix it
returns a
negative value, usually -1, and sets errno. you must test errno for
EPERM. not the return value.
quoting man pthread_rwlock_unlock:
If
2 matches
Mail list logo