diff options
Diffstat (limited to 'share/man/man3/pthread_rwlockattr_setpshared.3')
-rw-r--r-- | share/man/man3/pthread_rwlockattr_setpshared.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man3/pthread_rwlockattr_setpshared.3 b/share/man/man3/pthread_rwlockattr_setpshared.3 index 074794f3e36e..b4d2ecb86748 100644 --- a/share/man/man3/pthread_rwlockattr_setpshared.3 +++ b/share/man/man3/pthread_rwlockattr_setpshared.3 @@ -54,13 +54,15 @@ Any thread of any process that has access to the memory where the read/write lock resides can manipulate the lock. .It Dv PTHREAD_PROCESS_PRIVATE Only threads created within the same process as the thread that -initialized the read/write lock can manipulate the lock. This is +initialized the read/write lock can manipulate the lock. +This is the default value. .El .Sh RETURN VALUES If successful, the .Fn pthread_rwlockattr_setpshared -function will return zero. Otherwise an error number will be returned +function will return zero. +Otherwise an error number will be returned to indicate the error. .Sh SEE ALSO .Xr pthread_rwlockattr_getpshared 3 , |