next up previous contents
Next: cifCloseFile Up: CIFLIB File Access Functions Previous: cifReadFile

cifSaveFile

NAME cifSaveFile

PROTOTYPE

#include "ciflib.h"

void cifSaveFile(const char *fileName)
PURPOSE

cifSaveFile saves the CIFLIB internal representation of the contents of the input file into an auxiliary file. The auxiliary file is stored in a concealed directory (.ciflib) in the directory containing the original input file. The auxiliary file will be used in preference to the original file in all future CIFLIB file accesses if its modification date is more recent than the original file. Auxiliary files can be loaded with much less overhead than CIF files and dictionaries, so there is a substantial performance benefit to using these file when possible.

RECEIVES

fileName path name of the source file read with cifReadFile()

RETURN VALUE

None

REMARKS

See also: cifReadFile
  cifCloseFile
  cifWriteFile
  cifWriteDataBlock



Olivera Tosic
6/17/2002