summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2016-09-24 18:59:05 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2016-09-24 18:59:05 +0000
commitcee02ee6bc6bed99ada77f502ba73a523c37fd02 (patch)
treeaf1d45807a3cea4467f95a841a6052b1926b403e /share/man/man9
parent2b30e32a9cbfd63033e2470d457a3ad6e3ac2718 (diff)
jmc noticed a chunk failed to apply. actually document hashfree.
from natano via Mathieu -
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/hashinit.913
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man9/hashinit.9 b/share/man/man9/hashinit.9
index b67087d4e33..b19fc58e2fe 100644
--- a/share/man/man9/hashinit.9
+++ b/share/man/man9/hashinit.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hashinit.9,v 1.8 2016/09/24 18:35:52 tedu Exp $
+.\" $OpenBSD: hashinit.9,v 1.9 2016/09/24 18:59:04 tedu Exp $
.\"
.\" Copyright (c) 2001 Tobias Weingartner
.\" All rights reserved.
@@ -59,6 +59,17 @@ The
.Fa mask
argument is used to pass back the mask for use with the allocated
hashing table.
+.Pp
+The
+.Fn hashfree
+function causes memory allocated by the
+.Fn hashinit
+function to be released.
+The
+.Fa num
+and
+.Fa type
+arguments of related calls must match.
.Sh RETURN VALUES
The
.Fn hashinit