Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

OSS Library Calls (a - d) dbm_clearerr(3)
NAME
dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_rstkey,
dbm_nextkey, dbm_open, dbm_store - Manipulates a database
LIBRARY
G-series native OSS processes: /G/system/sysnn/zosshsrl
H-series OSS processes: /G/system/zdllnnn/zosshdll
SYNOPSIS
#include <ndbm.h>
int dbm_clearerr(
DBM *db);
void dbm_close(
DBM *db);
int dbm_delete(
DBM *db,
datum key);
int dbm_error(
DBM *db);
datum dbm_fetch(
DBM *db,
datum key);
datum dbm_rstkey(
DBM *db);
datum dbm_nextkey(
DBM *db);
DBM *dbm_open(
const char *le,
int open_ags,
mode_t le_mode);
int dbm_store(
DBM *db,
datum key,
datum content,
int store_mode);
PARAMETERS
db Is a pointer to a database structure.
key Is a value of type datum that identies the record to be operated upon.
file Is a pointer to the pathname of a database.
open_flags Has the same meaning as the ags parameter for the open() function. See the
open(2) reference page for details.
file_mode Is the same as the mode parameter for the open() function.
content Is the contents of a record to be stored in the database.
527187-004 Hewlett-Packard Company 165