summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2012-05-11 20:06:46 +0000
committergjb <gjb@FreeBSD.org>2012-05-11 20:06:46 +0000
commit8670397617a81b2ecea7375cbd0af3c77821459b (patch)
tree0b28f0bebde32579d2780e773f4990dfb45d3f30 /share
parent39c22309ed9c2ffe7c028062bc1cb57b20ec6945 (diff)
downloadFreeBSD-src-8670397617a81b2ecea7375cbd0af3c77821459b.zip
FreeBSD-src-8670397617a81b2ecea7375cbd0af3c77821459b.tar.gz
General mdoc(7) and typo fixes.
PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/ATOMIC_VAR_INIT.34
-rw-r--r--share/man/man3/pthread.32
-rw-r--r--share/man/man3/pthread_condattr.32
3 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man3/ATOMIC_VAR_INIT.3 b/share/man/man3/ATOMIC_VAR_INIT.3
index 1f85d3b..e2fc5c0 100644
--- a/share/man/man3/ATOMIC_VAR_INIT.3
+++ b/share/man/man3/ATOMIC_VAR_INIT.3
@@ -139,7 +139,7 @@ It sets the atomic variable
.Fa object
to its desired
.Fa value
-and returs the original contents of the atomic variable.
+and returns the original contents of the atomic variable.
.Pp
The
.Fn atomic_compare_exchange_strong
@@ -203,7 +203,7 @@ The
.Fn atomic_fetch_sub
macro subtracts the value
.Fa operand
-to atomic variable
+from atomic variable
.Fa object
and returns the original contents of the atomic variable.
.Pp
diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3
index caa7f74..9c80f70 100644
--- a/share/man/man3/pthread.3
+++ b/share/man/man3/pthread.3
@@ -452,7 +452,7 @@ Set the thread-specific value for the specified key.
.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]"
.Fc
.Xc
-Register fork handlers
+Register fork handlers.
.It Xo
.Ft void
.Fn pthread_cleanup_pop "int execute"
diff --git a/share/man/man3/pthread_condattr.3 b/share/man/man3/pthread_condattr.3
index e232ef6..d7f8f6b 100644
--- a/share/man/man3/pthread_condattr.3
+++ b/share/man/man3/pthread_condattr.3
@@ -35,7 +35,7 @@
.Nm pthread_condattr_getclock ,
.Nm pthread_condattr_setclock ,
.Nm pthread_condattr_getpshared ,
-.Nm pthread_condattr_setpshared ,
+.Nm pthread_condattr_setpshared
.Nd condition attribute operations
.Sh LIBRARY
.Lb libpthread
OpenPOWER on IntegriCloud