API int
LQT_ObtainWriteAccess
(db)
t_LQTEXT_Database *db;
Purpose
Grants write access to the current database.
This is called automatically by
LQT_OpenDatabase if appropriate.
Returns
- zero on success
- -1 on error or failure
Errors
A corrupt database may cause a fatal or E_BUG error.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.