close_tab - Closes the labeled table (LT) file

SYNTAX

#include "ltable.h"

FUNCTION close_tab (tab)

     struct TAB_DEF      *tab;

PARAMETERS

tab (Input, struct TAB_DEF)

Pointer to a structure defining the LT file structure. The structure is initialized by the open_tab() utility.

DESCRIPTION

Close the LT file. If the LT file is opened for write access, it flushes the I/O buffers prior to the close. In addition, it frees all dynamic memory used to manipulate the LT file; therefore, the linked list defined by structure VECTOR and the LT data I/O buffer should not be referenced after calling close_tab().

RETURN VALUE

close_tab() has no return values.

SPECIAL CONSIDERATIONS:

The close_tab() call is for C only.