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:
parent
7f50f5eea4
commit
c36ede7255
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user