Formatting fixes

This commit is contained in:
Michael Kerrisk 2005-11-02 11:10:24 +00:00
parent 9961bb4f07
commit 8a9648b96f
1 changed files with 7 additions and 6 deletions

View File

@ -49,7 +49,7 @@ const void *openinfo);
.ft R
.fi
.SH DESCRIPTION
.IR Dbopen
.BR dbopen ()
is the library interface to database files.
The supported file formats are btree, hashed and UNIX file oriented.
The btree format is a representation of a sorted, balanced tree structure.
@ -63,7 +63,8 @@ in their respective manual pages
and
.IR recno (3).
.PP
Dbopen opens
.BR dbopen ()
opens
.I file
for reading and/or writing.
Files never intended to be preserved on disk may be created by setting
@ -113,7 +114,7 @@ If
is NULL, each access method will use defaults appropriate for the system
and the access method.
.PP
.I Dbopen
.BR dbopen ()
returns a pointer to a DB structure on success and NULL on error.
The DB structure is defined in the <db.h> include file, and contains at
least the following fields:
@ -138,7 +139,7 @@ int (*seq)(const DB *db, DBT *key, DBT *data, u_int flags);
These elements describe a database type and a set of functions performing
various actions.
These functions take a pointer to a structure as returned by
.IR dbopen ,
.BR dbopen (),
and sometimes one or more pointers to key/data structures and a flag value.
.TP
type
@ -183,7 +184,7 @@ A pointer to a routine which returns a file descriptor representative
of the underlying database.
A file descriptor referencing the same file will be returned to all
processes which call
.I dbopen
.BR dbopen ()
with the same
.I file
name.
@ -399,7 +400,7 @@ It should be noted that the access methods provide no guarantees about
byte string alignment.
.SH ERRORS
The
.I dbopen
.BR dbopen ()
routine may fail and set
.I errno
for any of the errors specified for the library routines