lq-text: LQTp_FlushLastBlockCache

LIBRARY int LQTp_FlushLastBlockCache (db) t_LQTEXT_Database *db;

Purpose

Ensures that all entries in the last block cache are written out to disk. This routine must be called before a routine that has updated the database exits.

This routine is registered as an action to be performed on a database close or sync, and so is called automatically by LQT_Close­Database and LQT_Sync­Database; the ignored argument and the return value are for compatibility with LQT_Add­Action­On­Close.

Errors

Warns if there are system problems writing the data or closing the associated file.

See Also: