Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

dbm_clearerr(3) OSS Library Calls Reference Manual
NAME
dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey,
dbm_nextkey, dbm_open, dbm_store - Manipulates a database
LIBRARY
G-series native OSS processes: /G/system/sysnn/zosshsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll |
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_firstkey(
DBM *db);
datum dbm_nextkey(
DBM *db);
DBM *dbm_open(
const char *file,
int open_flags,
mode_t file_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 identifies the record to be operated upon.
file Is a pointer to the pathname of a database.
open_flags Has the same meaning as the flags 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.
1174 Hewlett-Packard Company 527187-017