<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqtext">
<Function File="../../src/liblqtext/wordinfo.c">
<Name>LQT_WIDToWord</Name>
<Class>Database/Retrieval, Database/Words
<Purpose>
Returns the word corresponding to a given WID.
<Returns>
<LIST>
<LI>the word on success
<LI>zero on failure, or if the wordlist database parameter was set to
      off when the word was last written to the database
</LIST>
<Notes>
LQT_WIDToWord may be inefficient or unavailable if the wordlist
parameter in the database config file is set to off.
See the lqwordlist program for alternate ways of obtaining access
to the index vocabulary.
</Function>
<Decl>
API char *
LQT_WIDToWord(db, WID)
    t_LQTEXT_Database *db;
    t_WID WID;
</Decl>
</Entry>
