From 27af5a5a040400edd6619f4b46a312300e4edcbc Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 17 Jan 2002 15:57:43 +0000 Subject: mdoc(7) police: removed raw troff from previous delta. Objected to by: mpp, jhb --- share/man/man9/atomic.9 | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) (limited to 'share') diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index 0980f2b..66aef3b 100644 --- a/share/man/man9/atomic.9 +++ b/share/man/man9/atomic.9 @@ -39,31 +39,26 @@ .Sh SYNOPSIS .In sys/types.h .In machine/atomic.h -.\" XXX -.ds LB \f[R]\(lB\f[P] -.ds RB \f[R]\(rB\f[P] -.ds La \f[R]\(la\f[P] -.ds Ra \f[R]\(ra\f[P] .Ft void -.Fn atomic_add_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_add_[acq_|rel_] "volatile *p" " v" .Ft void -.Fn atomic_clear_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_clear_[acq_|rel_] "volatile *p" " v" .Ft int -.Fo atomic_cmpset_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] -.Fa "volatile \*[La]type\*[Ra] *dst" -.Fa "\*[La]type\*[Ra] old" -.Fa "\*[La]type\*[Ra] new" +.Fo atomic_cmpset_[acq_|rel_] +.Fa "volatile *dst" +.Fa " old" +.Fa " new" .Fc -.Ft \*[La]type\*[Ra] -.Fn atomic_load_acq_\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" -.Ft \*[La]type\*[Ra] -.Fn atomic_readandclear_\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" +.Ft +.Fn atomic_load_acq_ "volatile *p" +.Ft +.Fn atomic_readandclear_ "volatile *p" .Ft void -.Fn atomic_set_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_set_[acq_|rel_] "volatile *p" " v" .Ft void -.Fn atomic_subtract_\*[LB]acq_\*[Ba]rel_\*[RB]\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_subtract_[acq_|rel_] "volatile *p" " v" .Ft void -.Fn atomic_store_rel_\*[La]type\*[Ra] "volatile \*[La]type\*[Ra] *p" "\*[La]type\*[Ra] v" +.Fn atomic_store_rel_ "volatile *p" " v" .rm LB RB La Ra .Sh DESCRIPTION Each of the atomic operations is guaranteed to be atomic in the presence of -- cgit v1.1