summaryrefslogtreecommitdiffstats
path: root/share/man/man9/atomic.9
diff options
context:
space:
mode:
authorhmp <hmp@FreeBSD.org>2003-05-31 14:07:25 +0000
committerhmp <hmp@FreeBSD.org>2003-05-31 14:07:25 +0000
commit5d71788a056bfdb2b7446be7e42b64371485657f (patch)
tree699677a7aafb30afb978e6dbdfaeb7e00df0b977 /share/man/man9/atomic.9
parentf2f79e8c3fd78874b7ac71ce17f19bb9f33d3061 (diff)
downloadFreeBSD-src-5d71788a056bfdb2b7446be7e42b64371485657f.zip
FreeBSD-src-5d71788a056bfdb2b7446be7e42b64371485657f.tar.gz
Some mdoc(7) fixes:
Nuke incorrect usage of .Ar; replace it with .Vt, .Va or .Fa appropriately. The .Ar mdoc(7) specifier should only be used when displaying command line arguments. Approved by: des (mentor)
Diffstat (limited to 'share/man/man9/atomic.9')
-rw-r--r--share/man/man9/atomic.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9
index 66aef3b..747b81d 100644
--- a/share/man/man9/atomic.9
+++ b/share/man/man9/atomic.9
@@ -67,7 +67,7 @@ They can be used to implement reference counts or as building blocks for more
advanced synchronization primitives such as mutexes.
.Ss Types
Each atomic operation operates on a specific
-.Ar type .
+.Fa type .
The type to use is indicated in the function name.
The available types that can be used are:
.Pp
@@ -125,7 +125,7 @@ pseudo-lock requiring further operations to wait until it has completed.
To denote this, the suffix
.Dq Li _acq
is inserted into the function name immediately prior to the
-.Dq Li _ Ns Aq Ar type
+.Dq Li _ Ns Aq Fa type
suffix.
For example, to subtract two integers ensuring that any later writes will
happen after the subtraction is performed, use
@@ -139,7 +139,7 @@ any pending data accesses to be completed before its operation is performed.
To denote this, the suffix
.Dq Li _rel
is inserted into the function name immediately prior to the
-.Dq Li _ Ns Aq Ar type
+.Dq Li _ Ns Aq Fa type
suffix.
For example, to add two long integers ensuring that all previous
writes will happen first, use
OpenPOWER on IntegriCloud