UNIX man pages : dbm (3)

here SunOS/BSD Compatibility Library Functions dbm(3UCB) dbm, dbminit, dbmclose, fetch, store, delete, firstkey, nextkey - data base subroutines /usr/ucb/cc [ flag ... ] file ... -ldbm #include <dbm.h> typedef struct { char *dptr; int dsize; }datum; int dbminit( file ) char * file ; int dbmclose(); datum fetch( key ) datum key ; int store( key , dat ) datum key , dat ; int delete( key ) datum key ; datum firstkey(); datum nextkey( key ) datum key ; The dbm() library has been superseded by ndbm (see ndbm(3C) ). These functions maintain key/content pairs in a data base. The functions will handle very large (a billion blocks) databases and will access a keyed item in one or two file system accesses. key / dat and their cont...

Linked on 2014-01-30 23:57:18 | Similar Links