closedbtbl() - Close a DBTBL structure.

SYNOPSIS

DBTBL *closedbtbl(DBTBL *db);


PARAMETERS

DBTBL *db

The table to close.


DESCRIPTION
The table is closed, and frees all the memory associated with it is freed. This includes all the fields in the table, so any pointers obtained with getfld() are no longer valid. Any data set with putfld(), but not written with putdbtblrow() will be lost.

Returns NULL.


SEE ALSO
opendbtbl(), createdbtbl(), getfld(), putfld(), putdbtblrow()


Copyright © Thunderstone Software     Last updated: Jun 1 2020
Copyright © 2020 Thunderstone Software LLC. All rights reserved.