TBLT_RETC TBLT_ENTRY BltIx4CopyHeader(TBLT_KH *khPtr, TBLT_FNCHAR *filenamePtr); khPtr I:index file control structure filenamePtr I:name of new index fileThis routine copies the structure of the khPtr's index file to a new file named in filenamePtr.
The new file is created by this routine and its structure is a clone of the passed IX4 structure. The new file will have -0- keys, but otherwise is identical to TBLT_KH. The TBLT_KH file is not affected.
Return: Non-zero indicates an error, otherwise a new file is created.