API int
LQT_UnpackAndOpen
(db, FileName)
t_LQTEXT_Database *db;
char *FileName;
Purpose
Tries to open the named file, using compress or gunzip as necessary. Can append a .Z or .gz to the file name. Currently, LQT_UnpackAndOpen makes a copy of a file if necessary; a future version may create a pipe, and the interface will change.Returns
- an open file descriptor on success;
- -1 if the file couldn't be opened.
See Also: