NDBM.H(3HEAD) Headers NDBM.H(3HEAD)
ndbm.h, ndbm - definitions for ndbm database operations
#include <ndbm.h>
The <ndbm.h> header defines the datum type as a structure that
includes at least the following members:
void *dptr /* pointer to the application's data */
size_t dsize /* size of the object pointed to by dptr */
The size_t type is defined through typedef as described in
<stddef.h>.
The <ndbm.h> header defines the DBM type through typedef.
The following constants are defined as possible values for the
store_mode argument to dbm_store():
DBM_INSERT
Insertion of new entries only.
DBM_REPLACE
Allow replacing existing entries.
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
ndbm(3C), attributes(7), standards(7)
August 30, 2002 NDBM.H(3HEAD)
NAME
ndbm.h, ndbm - definitions for ndbm database operations
SYNOPSIS
#include <ndbm.h>
DESCRIPTION
The <ndbm.h> header defines the datum type as a structure that
includes at least the following members:
void *dptr /* pointer to the application's data */
size_t dsize /* size of the object pointed to by dptr */
The size_t type is defined through typedef as described in
<stddef.h>.
The <ndbm.h> header defines the DBM type through typedef.
The following constants are defined as possible values for the
store_mode argument to dbm_store():
DBM_INSERT
Insertion of new entries only.
DBM_REPLACE
Allow replacing existing entries.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
SEE ALSO
ndbm(3C), attributes(7), standards(7)
August 30, 2002 NDBM.H(3HEAD)