git: 9front

Download patch

ref: c791a397417e779e8a31b3d950a58057b3955932
parent: 9932a824ac650713434b1761aad497cc55b40a54
author: qwx <qwx@sciops.net>
date: Mon Mar 2 08:51:02 EST 2026

atomic(2): update and clean up

previous commit did not take care of all references in
the text; also take care of complaints from checkman.

--- a/sys/man/2/atomic
+++ b/sys/man/2/atomic
@@ -1,4 +1,4 @@
-.TH atomic 2
+.TH ATOMIC 2
 .SH NAME
 agetl,
 agetv,
@@ -52,10 +52,10 @@
 and
 .I agetp
 perform an atomic read.
-.IR Asetl ,
-.IR asetv ,
+.IR Aswapl ,
+.IR aswapv ,
 and
-.I asetp
+.I aswapp
 perform an atomic swap, replacing the value with
 .B new
 then returning the previous value.
@@ -84,8 +84,6 @@
 provides only the re-ordering barrier.
 
 .SH SOURCE
-.B /sys/src/libc/port/atomic.c
-.br
 .B /sys/src/libc/port/atomic64.c
 .br
 .B /sys/src/libc/$objtype/atomic.s
--