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
a3e762571c
commit
aa0445b7db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294638
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 10, 2004
|
.Dd January 23, 2016
|
||||||
.Dt HASHINIT 9
|
.Dt HASHINIT 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -102,9 +102,11 @@ Any malloc performed by the
|
|||||||
.Fn hashinit_flags
|
.Fn hashinit_flags
|
||||||
function will not be allowed to wait, and therefore may fail.
|
function will not be allowed to wait, and therefore may fail.
|
||||||
.It Dv HASH_WAITOK
|
.It Dv HASH_WAITOK
|
||||||
Any malloc performed by the
|
Any malloc performed by
|
||||||
.Fn hashinit_flags
|
.Fn hashinit_flags
|
||||||
function is allowed to wait for memory.
|
function is allowed to wait for memory.
|
||||||
|
This is also the behavior of
|
||||||
|
.Fn hashinit .
|
||||||
.El
|
.El
|
||||||
.Sh IMPLEMENTATION NOTES
|
.Sh IMPLEMENTATION NOTES
|
||||||
The largest prime hash value chosen by
|
The largest prime hash value chosen by
|
||||||
|
Loading…
Reference in New Issue
Block a user