dbm_close() — Close a database
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
XPG4.2
Single UNIX Specification, Version 3 |
both |
Format
#define _XOPEN_SOURCE_EXTENDED 1
#include <ndbm.h>
void dbm_close(DBM *db);
General description
The dbm_close() function closes a database. The db argument is the database handle returned by a previous call to dbm_open().
Special behavior for z/OS® UNIX Services: A dbm_close() function call removes access to the specified database handle to all threads within the process.
Returned value
dbm_close() returns no values.
Related information
- ndbm.h — ndbm database operations
- dbm_clearerr() — Clear database error indicator
- dbm_delete() — Delete database record
- dbm_error() — Check database error indicator
- dbm_fetch() — Get database content
- dbm_firstkey() — Get first key in database
- dbm_nextkey() — Get next key in database
- dbm_open() — Open a database
- dbm_store() — Store database record