Preface

Welcome to Berkeley DB (DB). This document provides an introduction and usage notes for skilled programmers who wish to use the Berkeley DB APIs.

This document reflects Berkeley DB 18 Release 18.1, which provides DB library version 18.1.32.

Conventions Used in this Book

The following typographical conventions are used within in this manual:

Structure names are represented in monospaced font, as are method names. For example: “DB->open() is a method on a DB handle.”

Variable or non-literal text is presented in italics. For example: “Go to your DB_INSTALL directory.”

Program examples are displayed in a monospaced font on a shaded background. For example:

  1. /* File: gettingstarted_common.h */
  2. typedef struct stock_dbs {
  3. DB *inventory_dbp; /* Database containing inventory information */
  4. DB *vendor_dbp; /* Database containing vendor information */
  5. char *db_home_dir; /* Directory containing the database files */
  6. char *inventory_db_name; /* Name of the inventory database */
  7. char *vendor_db_name; /* Name of the vendor database */
  8. } STOCK_DBS;

Note

Finally, notes of interest are represented using a note block such as this.