summaryrefslogtreecommitdiffabout
path: root/doc/gdbm.texi
Side-by-side diff
Diffstat (limited to 'doc/gdbm.texi') (more/less context) (show whitespace changes)
-rw-r--r--doc/gdbm.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gdbm.texi b/doc/gdbm.texi
index 159a108..53c9782 100644
--- a/doc/gdbm.texi
+++ b/doc/gdbm.texi
@@ -234,2 +234,3 @@ int gdbm_import_from_file (GDBM_FILE dbf, FILE *fp, int flag);
int gdbm_count (GDBM_FILE dbf, gdbm_count_t *pcount);
+int gdbm_bucket_count (GDBM_FILE dbf, size_t *pcount);
int gdbm_version_cmp (int const a[], int const b[]);
@@ -396,2 +397,10 @@ and returns -1.
+@deftypefn {gdbm interface} int gdbm_bucket_count (GDBM_FILE @var{dbf}, @
+ size_t *@var{pcount})
+Counts number of buckets in the database @var{dbf}. On success,
+stores it in the memory location pointed to by @var{pcount} and return
+0. On error, sets @code{gdbm_errno} (if relevant, also @code{errno})
+and returns -1.
+@end deftypefn
+
@node Store

Return to:

Send suggestions and report system problems to the System administrator.