Document that hashinit(9) can wait for memory to be available

Also tweak nearby grammar while here.

Submitted by:	Daniel O'Connor (original version)
This commit is contained in:
Benjamin Kaduk 2016-01-23 20:01:46 +00:00
parent a3e762571c
commit aa0445b7db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294638

View File

@ -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