Table of Contents
TBLtotal - tell total number of records in table
TBLtotal
returns the total number of records in the specified table.
This function
is part of tblmngr.
int TBLtotal(
HEADER_TBL *HTpnt,
int Tbl
);
Pointer to the HEADER_TBL.
The table to check. See
mem.h
for a list of valid values to use.
-1 - no allocations allowed.
0 - allocation is by malloc()
>0 - The total number of free and allocated records in the table.
-
1 returned on error
tblmngr(3tbl)
This function seems to
do more work than it needs to. Perhaps it should be looked at someday. In
the meantime it’s harmless.
$Id: TBLtotal.3,v 1.1 2002/04/07
19:37:39 kitchen Exp $
Table of Contents