shithub: front

Download patch

ref: 07c8c2c838256ea0b3b9dd6d5a70ba32ff3bafab
parent: 49f1b55b7a3ddc7bb97a53ab70fc3e88e3a897aa
author: mia soweli <mia@soweli.net>
date: Fri Aug 15 16:59:51 EDT 2025

atomic(2): reference the correct names

--- a/sys/man/2/atomic
+++ b/sys/man/2/atomic
@@ -3,9 +3,9 @@
 agetl,
 agetv,
 agetp,
-asetl,
-asetv,
-asetp,
+aswapl,
+aswapv,
+aswapp,
 aincl,
 aincv,
 acasl,
@@ -44,7 +44,8 @@
 .SH DESCRIPTION
 .P
 These routines provide atomic operations that can be used to synchronize processes.
-They are sequentially consistent, that is, operations in a multi-process program are executed in some sequential order; operations in each process are executed in program order. No non-atomic operations will be re-orded to be observable before or after an atomic operation.
+They are sequentially consistent, that is, operations in a multi-process program are executed in some sequential order; operations in each process are executed in program order.
+No non-atomic operations will be re-orded to be observable before or after an atomic operation.
 .P
 .IR Agetl ,
 .IR agetv ,
--