diff options
Diffstat (limited to 'lib/libc_r/man/pthread_rwlockattr_getpshared.3')
-rw-r--r-- | lib/libc_r/man/pthread_rwlockattr_getpshared.3 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc_r/man/pthread_rwlockattr_getpshared.3 b/lib/libc_r/man/pthread_rwlockattr_getpshared.3 index e4398ad892d..f5cb3b83e5a 100644 --- a/lib/libc_r/man/pthread_rwlockattr_getpshared.3 +++ b/lib/libc_r/man/pthread_rwlockattr_getpshared.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthread_rwlockattr_getpshared.3,v 1.6 2000/04/12 21:48:03 aaron Exp $ +.\" $OpenBSD: pthread_rwlockattr_getpshared.3,v 1.7 2002/05/01 08:03:30 mpech Exp $ .\" Copyright (c) 1998 Alex Nash .\" All rights reserved. .\" @@ -39,7 +39,8 @@ The .Fn pthread_rwlockattr_getpshared function is used to get the process shared setting of a read/write -lock attribute object. The setting is returned via +lock attribute object. +The setting is returned via .Fa pshared , and may be one of two values: .Bl -hang -offset flag -width 123456789012345678901234 @@ -48,14 +49,14 @@ Any thread of any process that has access to the memory where the read/write lock resides can manipulate the lock. .It Ar 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 -the default value. +initialized the read/write lock can manipulate the lock. +This is the default value. .El .Sh RETURN VALUES If successful, the .Fn pthread_rwlockattr_getpshared -function will return zero. Otherwise an error number will be returned -to indicate the error. +function will return zero. +Otherwise an error number will be returned to indicate the error. .Sh SEE ALSO .Xr pthread_rwlock_init 3 , .Xr pthread_rwlockattr_init 3 , |