aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/man/pthread_rwlockattr_getpshared.36
-rw-r--r--lib/libc_r/man/pthread_rwlockattr_setpshared.310
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_getpshared.36
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_setpshared.310
-rw-r--r--share/man/man3/pthread_rwlockattr_getpshared.36
-rw-r--r--share/man/man3/pthread_rwlockattr_setpshared.310
6 files changed, 27 insertions, 21 deletions
diff --git a/lib/libc_r/man/pthread_rwlockattr_getpshared.3 b/lib/libc_r/man/pthread_rwlockattr_getpshared.3
index 7637a4f7494c..a433d6020a36 100644
--- a/lib/libc_r/man/pthread_rwlockattr_getpshared.3
+++ b/lib/libc_r/man/pthread_rwlockattr_getpshared.3
@@ -43,11 +43,11 @@ function is used to get the process shared setting of a read/write
lock attribute object. The setting is returned via
.Fa pshared ,
and may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
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
+.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
the default value.
diff --git a/lib/libc_r/man/pthread_rwlockattr_setpshared.3 b/lib/libc_r/man/pthread_rwlockattr_setpshared.3
index b2c16eb5b736..fd5fa90f995b 100644
--- a/lib/libc_r/man/pthread_rwlockattr_setpshared.3
+++ b/lib/libc_r/man/pthread_rwlockattr_setpshared.3
@@ -45,11 +45,11 @@ to the value referenced by
.Fa pshared .
.Fa pshared
may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
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
+.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
the default value.
@@ -85,4 +85,6 @@ The
function first appeared in
.Fx 3.0 .
.Sh BUGS
-The PTHREAD_PROCESS_SHARED attribute is not supported.
+The
+.Dv PTHREAD_PROCESS_SHARED
+attribute is not supported.
diff --git a/lib/libpthread/man/pthread_rwlockattr_getpshared.3 b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
index 7637a4f7494c..a433d6020a36 100644
--- a/lib/libpthread/man/pthread_rwlockattr_getpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
@@ -43,11 +43,11 @@ function is used to get the process shared setting of a read/write
lock attribute object. The setting is returned via
.Fa pshared ,
and may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
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
+.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
the default value.
diff --git a/lib/libpthread/man/pthread_rwlockattr_setpshared.3 b/lib/libpthread/man/pthread_rwlockattr_setpshared.3
index b2c16eb5b736..fd5fa90f995b 100644
--- a/lib/libpthread/man/pthread_rwlockattr_setpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_setpshared.3
@@ -45,11 +45,11 @@ to the value referenced by
.Fa pshared .
.Fa pshared
may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
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
+.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
the default value.
@@ -85,4 +85,6 @@ The
function first appeared in
.Fx 3.0 .
.Sh BUGS
-The PTHREAD_PROCESS_SHARED attribute is not supported.
+The
+.Dv PTHREAD_PROCESS_SHARED
+attribute is not supported.
diff --git a/share/man/man3/pthread_rwlockattr_getpshared.3 b/share/man/man3/pthread_rwlockattr_getpshared.3
index 7637a4f7494c..a433d6020a36 100644
--- a/share/man/man3/pthread_rwlockattr_getpshared.3
+++ b/share/man/man3/pthread_rwlockattr_getpshared.3
@@ -43,11 +43,11 @@ function is used to get the process shared setting of a read/write
lock attribute object. The setting is returned via
.Fa pshared ,
and may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
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
+.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
the default value.
diff --git a/share/man/man3/pthread_rwlockattr_setpshared.3 b/share/man/man3/pthread_rwlockattr_setpshared.3
index b2c16eb5b736..fd5fa90f995b 100644
--- a/share/man/man3/pthread_rwlockattr_setpshared.3
+++ b/share/man/man3/pthread_rwlockattr_setpshared.3
@@ -45,11 +45,11 @@ to the value referenced by
.Fa pshared .
.Fa pshared
may be one of two values:
-.Bl -hang -offset flag -width 123456789012345678901234
-.It Ar PTHREAD_PROCESS_SHARED
+.Bl -tag -width PTHREAD_PROCESS_PRIVATE
+.It Dv PTHREAD_PROCESS_SHARED
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
+.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
the default value.
@@ -85,4 +85,6 @@ The
function first appeared in
.Fx 3.0 .
.Sh BUGS
-The PTHREAD_PROCESS_SHARED attribute is not supported.
+The
+.Dv PTHREAD_PROCESS_SHARED
+attribute is not supported.