Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Add RCS Id, sort sections.
details: https://anonhg.NetBSD.org/src/rev/156224c8e461
branches: trunk
changeset: 453848:156224c8e461
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Aug 28 22:11:25 2019 +0000
description:
Add RCS Id, sort sections.
diffstat:
share/man/man9/thmap.9 | 37 +++++++++++++++++++------------------
1 files changed, 19 insertions(+), 18 deletions(-)
diffs (55 lines):
diff -r 9f64a4f9dda9 -r 156224c8e461 share/man/man9/thmap.9
--- a/share/man/man9/thmap.9 Wed Aug 28 21:48:14 2019 +0000
+++ b/share/man/man9/thmap.9 Wed Aug 28 22:11:25 2019 +0000
@@ -1,3 +1,4 @@
+.\" $NetBSD: thmap.9,v 1.2 2019/08/28 22:11:25 wiz Exp $
.\"
.\" Copyright (c) 2018 Mindaugas Rasiukevicius <rmind at noxt eu>
.\" All rights reserved.
@@ -195,24 +196,6 @@
void (*free)(uintptr_t addr, size_t len);
.Ed
.\" -----
-.Sh CAVEATS
-The implementation uses pointer tagging and atomic operations.
-This requires the base address and the allocations to provide at least word
-alignment.
-.Pp
-While the
-.Dv NULL
-values may be inserted,
-.Fn thmap_get
-and
-.Fn thmap_del
-cannot indicate whether the key was not found or a key with a
-.Dv NULL
-value was found.
-If the caller needs to indicate an "empty" value, it can use a
-special pointer value, such as
-.Li (void *)(uintptr_t)0x1 .
-.\" -----
.Sh EXAMPLES
Simple case backed by
.Xr malloc 3 ,
@@ -234,3 +217,21 @@
.\" -----
.Sh AUTHORS
.An Mindaugas Rasiukevicius Aq Mt rmind%noxt.eu@localhost
+.Sh CAVEATS
+The implementation uses pointer tagging and atomic operations.
+This requires the base address and the allocations to provide at least word
+alignment.
+.Pp
+While the
+.Dv NULL
+values may be inserted,
+.Fn thmap_get
+and
+.Fn thmap_del
+cannot indicate whether the key was not found or a key with a
+.Dv NULL
+value was found.
+If the caller needs to indicate an "empty" value, it can use a
+special pointer value, such as
+.Li (void *)(uintptr_t)0x1 .
+.\" -----
Home |
Main Index |
Thread Index |
Old Index