path: root/doc
authorSergey Poznyakoff <>2016-07-15 16:36:39 (GMT)
committer Sergey Poznyakoff <>2016-07-15 16:36:39 (GMT)
commit493772dc60886a315c749bf31fc1cbe682df5973 (patch) (side-by-side diff)
tree9743f55e082e3306cf7ea3add00c152323afd065 /doc
parent44ca2b760b393e993b2a42fc489fa170910ad810 (diff)
New gdbm_setopt option to get the actual block size value
* src/ (GDBM_GETBLOCKSIZE): New option. * src/gdbmcount.c (gdbm_count): Fix memory leak on error. * src/gdbmsetopt.c (gdbm_setopt): Rewrite. Handle GDBM_GETBLOCKSIZE. * NEWS: Document GDBM_GETBLOCKSIZE * doc/gdbm.texi: Likewise. * tests/gtload.c: New options -bsexact and -verbose. * tests/ Add new testcases. * tests/ Likewise. * tests/ New testcase. * tests/ Likewise. * tests/ Likewise.
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gdbm.texi b/doc/gdbm.texi
index 8096215..c823ee9 100644
--- a/doc/gdbm.texi
+++ b/doc/gdbm.texi
@@ -1102,6 +1102,10 @@ else
@end example
+Return the block size in bytes. The @var{value} should point to @code{int}.
@end table
The return value will be @samp{-1} upon failure, or @samp{0} upon

Return to:

Send suggestions and report system problems to the System administrator.