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