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: Oct 5 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.