summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2016-09-24 18:35:53 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2016-09-24 18:35:53 +0000
commitd3bb61a47f64ece4fd39a052e1cc006d51b31149 (patch)
treed064db5a417324ec8b58195de8f4e358681c2616 /share
parent5809de6815f215e331bcdb2a7dc104ea093df7d2 (diff)
introduce hashfree() function to free hash tables, with sizes.
ok guenther
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/hashinit.911
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man9/hashinit.9 b/share/man/man9/hashinit.9
index 7da84f42791..b67087d4e33 100644
--- a/share/man/man9/hashinit.9
+++ b/share/man/man9/hashinit.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hashinit.9,v 1.7 2016/09/02 18:32:39 jmc Exp $
+.\" $OpenBSD: hashinit.9,v 1.8 2016/09/24 18:35:52 tedu Exp $
.\"
.\" Copyright (c) 2001 Tobias Weingartner
.\" All rights reserved.
@@ -25,18 +25,19 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 2 2016 $
+.Dd $Mdocdate: September 24 2016 $
.Dt HASHINIT 9
.Os
.Sh NAME
-.Nm hashinit
-.\" This should be ported from netbsd as well...
-.\" .Nm hashdone
+.Nm hashinit ,
+.Nm hashfree
.Nd kernel hashtable functions
.Sh SYNOPSIS
.In sys/systm.h
.Ft void *
.Fn hashinit "int num" "int type" "int flags" "u_long *mask"
+.Ft void
+.Fn hashfree "void *hash" "int num" "int type"
.Sh DESCRIPTION
The
.Fn hashinit