GDBM manual (split by section):   Section:   Chapter:FastBack: Close   Up: Top   FastForward: Store   Contents: Table of ContentsIndex: Index

6 Number of Records

gdbm interface: int gdbm_count (GDBM_FILE dbf, gdbm_count_t *pcount)

Counts number of records in the database dbf. On success, stores it in the memory location pointed to by pcount and return 0. On error, sets gdbm_errno (if relevant, also errno) and returns -1.

GDBM manual (split by section):   Section:   Chapter:FastBack: Close   Up: Top   FastForward: Store   Contents: Table of ContentsIndex: Index