]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread_rwlockattr_setpshared.3
Libc-498.tar.gz
[apple/libc.git] / pthreads / pthread_rwlockattr_setpshared.3
index 9824c636bf56e4a863bb25caea40aba6322b7633..d8702b9ff1b0a16803d9754c6c383a40c72d65c6 100644 (file)
 .Sh SYNOPSIS
 .In pthread.h
 .Ft int
-.Fn pthread_rwlockattr_setpshared "pthread_rwlockattr_t *attr" "int pshared"
+.Fo pthread_rwlockattr_setpshared
+.Fa "pthread_rwlockattr_t *attr"
+.Fa "int pshared"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn pthread_rwlockattr_setpshared
-function sets the process shared attribute of
+function sets the process-shared attribute of
 .Fa attr
 to the value referenced by
 .Fa pshared .
@@ -55,12 +58,12 @@ the default value.
 .Sh RETURN VALUES
 If successful, the
 .Fn pthread_rwlockattr_setpshared
-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 ,
-.Xr pthread_rwlockattr_setpshared 3 ,
-.Xr pthread_rwlock_init 3
+.Xr pthread_rwlockattr_setpshared 3
 .Sh STANDARDS
 The
 .Fn pthread_rwlockattr_setpshared