www.delorie.com/gnu/docs/gdbm/gdbm_5.html   search  
 
Buy GNU books!


gdbm

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Closing the database.

It is important that every file opened is also closed. This is needed to update the reader/writer count on the file. This is done by:

 
gdbm_close(dbf);

The parameter is:

GDBM_FILE dbf
The pointer returned by gdbm_open.

Closes the gdbm file and frees all memory associated with the file dbf.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003