Changing the File Extension of the Index File

When mf_rd() is called, it automatically searches for an index file. If the index file is found, that file is read in instead of the entire text file. By default, mf_rd() searches for and creates an index file by the same name as the text file with ".inx" as the extension. You can change this default with the set environment index extension function, se_indext():

void se_indext(stp)

UCHAR *stp;        /* String to use for file extensions        */


Home Contents Previous Next