lq-text: LQT_ObtainWriteAccess

API int LQT_ObtainWriteAccess (db) t_LQTEXT_Database *db;

Purpose

Grants write access to the current database. This is called automatically by LQT_Open­Database if appropriate.

Returns

Errors

A corrupt database may cause a fatal or E_BUG error.

See Also:

Notes

Write access may on some systems be exclusive, so that no other process can open the database, neither for reading nor for writing. You should not rely on this, however; on some systems, multiple clients may succeed in writing, and will corrupt the database.