Multithreaded Programming Guide

pthread_rwlockattr_setpshared Return Values

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


EINVAL

Description:

The value specified by attr or pshared is invalid.