aboutsummaryrefslogtreecommitdiff
path: root/doc/gdbm.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gdbm.texi')
-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
@@ -232,6 +232,7 @@ int gdbm_export_to_file (GDBM_FILE dbf, FILE *fp);
232int gdbm_import (GDBM_FILE, const char *, int); 232int gdbm_import (GDBM_FILE, const char *, int);
233int gdbm_import_from_file (GDBM_FILE dbf, FILE *fp, int flag); 233int gdbm_import_from_file (GDBM_FILE dbf, FILE *fp, int flag);
234int gdbm_count (GDBM_FILE dbf, gdbm_count_t *pcount); 234int gdbm_count (GDBM_FILE dbf, gdbm_count_t *pcount);
235int gdbm_bucket_count (GDBM_FILE dbf, size_t *pcount);
235int gdbm_version_cmp (int const a[], int const b[]); 236int gdbm_version_cmp (int const a[], int const b[]);
236@end example 237@end example
237 238
@@ -394,6 +395,14 @@ stores it in the memory location pointed to by @var{pcount} and return
394and returns -1. 395and returns -1.
395@end deftypefn 396@end deftypefn
396 397
398@deftypefn {gdbm interface} int gdbm_bucket_count (GDBM_FILE @var{dbf}, @
399 size_t *@var{pcount})
400Counts number of buckets in the database @var{dbf}. On success,
401stores it in the memory location pointed to by @var{pcount} and return
4020. On error, sets @code{gdbm_errno} (if relevant, also @code{errno})
403and returns -1.
404@end deftypefn
405
397@node Store 406@node Store
398@chapter Inserting and replacing records in the database. 407@chapter Inserting and replacing records in the database.
399@cindex storing records 408@cindex storing records

Return to:

Send suggestions and report system problems to the System administrator.