summaryrefslogtreecommitdiffstats
path: root/share/man/man9/hashinit.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-21 08:36:40 +0000
committerru <ru@FreeBSD.org>2005-01-21 08:36:40 +0000
commit7a3e657c56eb965857c0eaa67dfd6280cc69f93b (patch)
tree36796da3893db6597f28e6ae2ca01d40b60b73cb /share/man/man9/hashinit.9
parente892f32ba81eb2390a9e34d8cea91ef6c95ce340 (diff)
downloadFreeBSD-src-7a3e657c56eb965857c0eaa67dfd6280cc69f93b.zip
FreeBSD-src-7a3e657c56eb965857c0eaa67dfd6280cc69f93b.tar.gz
Sort sections.
Diffstat (limited to 'share/man/man9/hashinit.9')
-rw-r--r--share/man/man9/hashinit.914
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man9/hashinit.9 b/share/man/man9/hashinit.9
index 3d2c996..15fdb3b 100644
--- a/share/man/man9/hashinit.9
+++ b/share/man/man9/hashinit.9
@@ -80,6 +80,10 @@ The argument
should be the bit mask returned by the call to
.Fn hashinit
that allocated the hash table.
+.Sh IMPLEMENTATION NOTES
+The largest prime hash value chosen by
+.Fn phashinit
+is 32749.
.Sh RETURN VALUES
The
.Fn hashinit
@@ -95,10 +99,6 @@ function returns a pointer to an allocated hash table and sets the
location pointed to by
.Fa nentries
to the number of rows in the hash table.
-.Sh IMPLEMENTATION NOTES
-The largest prime hash value chosen by
-.Fn phashinit
-is 32749.
.Sh EXAMPLES
A typical example is shown below:
.Bd -literal -offset indent
@@ -122,9 +122,6 @@ uses the value in
\&...
hashdestroy(footable, M_FOO, foomask);
.Ed
-.Sh SEE ALSO
-.Xr LIST_HEAD 3 ,
-.Xr malloc 9
.Sh DIAGNOSTICS
The
.Fn hashinit
@@ -140,6 +137,9 @@ function will panic if the hash table
pointed to by
.Fa hashtbl
is not empty.
+.Sh SEE ALSO
+.Xr LIST_HEAD 3 ,
+.Xr malloc 9
.Sh BUGS
There is no
.Fn phashdestroy
OpenPOWER on IntegriCloud