text: #include <sys/types.h> #include <limits.h> #include <db.h> #include <fcntl.h> DB *dbopen(const char *file, int flags, int mode, DBTYPE type, const void *openinfo);
  dbopen() performing various actions. These functions take a pointer to a structure as returned by dbopen(), and sometimes one or more pointers to key/data structures and a flag value.. databases.
  The sync routines may fail and set errno for any of the errors specified for the library routine fsync(2).
  The file descriptor interface is a kludge and will be deleted in a future version of the interface.
  None of the access methods provide any form of concurrent access, locking, or transactions.
  LIBTP: Portable, Modular Transactions for UNIX, Margo Seltzer, Michael Olson, USENIX proceedings, Winter 1992.