O'Reilly logo

Berkeley DB by Sleepycat™ Software, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DBENV→open

						#include <db.h>
						int
						DBENV→open(DB_ENV *, char *db_home, u_int32_t flags, int mode);
					

Description

The DBENV→open function is the interface for opening the Berkeley DB environment. It provides a structure for creating a consistent environment for processes using one or more of the features of Berkeley DB.

The db_home argument to DBENV→open (and file name resolution in general) is described in “Berkeley DB File Naming.”

The flags argument specifies the subsystems that are initialized and how the application’s environment affects Berkeley DB file naming, among other things.

The flags value must be set to 0 or by bitwise inclusively OR’ing together one or more of the following values.

Because there are a large number of flags that can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required