summaryrefslogtreecommitdiffstats
path: root/share/man/man9/atomic_add_int.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/atomic_add_int.9')
-rw-r--r--share/man/man9/atomic_add_int.911
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man9/atomic_add_int.9 b/share/man/man9/atomic_add_int.9
index 3e7f30b1cf0..6e0fdf1b08a 100644
--- a/share/man/man9/atomic_add_int.9
+++ b/share/man/man9/atomic_add_int.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atomic_add_int.9,v 1.4 2014/02/04 21:26:21 dlg Exp $
+.\" $OpenBSD: atomic_add_int.9,v 1.5 2014/02/13 12:03:47 dlg Exp $
.\"
.\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
.\" All rights reserved.
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 4 2014 $
+.Dd $Mdocdate: February 13 2014 $
.Dt ATOMIC_ADD_INT 9
.Os
.Sh NAME
@@ -43,6 +43,13 @@ The value referenced by the pointer
.Fa p
is incremented by the value
.Fa v .
+.Sh CONTEXT
+.Fn atomic_add_int ,
+.Fn atomic_add_int_nv ,
+.Fn atomic_add_long ,
+and
+.Fn atomic_add_long_nv
+can all be called during autoconf, from process context, or from interrupt context.
.Sh RETURN VALUES
.Nm atomic_add_int
and