<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/smalldb.c">
<Name>LQT_CurrentlyHaveWriteAccess</Name>
<Class>Database/Database, Database/Files
<Purpose>
Returns non-zero if and only if the given database is open
with write access.
<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.
<SeeAlso>
LQT_ObtainWriteAccess
LQT_OpenDatabase
</Function>
<Decl>
API int
LQT_CurrentlyHaveWriteAccess(db)
    t_LQTEXT_Database *db;
</Decl>
</Entry>
