summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorbjk <bjk@FreeBSD.org>2016-01-23 20:01:46 +0000
committerbjk <bjk@FreeBSD.org>2016-01-23 20:01:46 +0000
commitc36ede725549666ab758963dc2141a6152c6ece4 (patch)
tree15ebc2e0ef4ab411ed7ad143980345bf218da350 /share/man
parent7f50f5eea431d1562125aa658847812df994c7d7 (diff)
downloadFreeBSD-src-c36ede725549666ab758963dc2141a6152c6ece4.zip
FreeBSD-src-c36ede725549666ab758963dc2141a6152c6ece4.tar.gz
Document that hashinit(9) can wait for memory to be available
Also tweak nearby grammar while here. Submitted by: Daniel O'Connor (original version)
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/hashinit.96
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man9/hashinit.9 b/share/man/man9/hashinit.9
index b72cd75..65ef10e 100644
--- a/share/man/man9/hashinit.9
+++ b/share/man/man9/hashinit.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 10, 2004
+.Dd January 23, 2016
.Dt HASHINIT 9
.Os
.Sh NAME
@@ -102,9 +102,11 @@ Any malloc performed by the
.Fn hashinit_flags
function will not be allowed to wait, and therefore may fail.
.It Dv HASH_WAITOK
-Any malloc performed by the
+Any malloc performed by
.Fn hashinit_flags
function is allowed to wait for memory.
+This is also the behavior of
+.Fn hashinit .
.El
.Sh IMPLEMENTATION NOTES
The largest prime hash value chosen by
OpenPOWER on IntegriCloud