summaryrefslogtreecommitdiffstats
path: root/share/man/man3/ATOMIC_VAR_INIT.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/ATOMIC_VAR_INIT.3')
-rw-r--r--share/man/man3/ATOMIC_VAR_INIT.34
1 files changed, 2 insertions, 2 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
OpenPOWER on IntegriCloud