dev_IsInitialized()
Predicate to determine if the device library has been initialized.
#include "device.h" LBoolean dev_IsInitialized ( void );
dev_IsInitialized() returns TRUE
if the last call to
dev_Initialize()
was successful.
dev_IsInitialized() returns a non-zero value if the library is initialized, zero otherwise.
if (!dev_IsInitialized()) { if (result = dev_Initialize(NULL) < 0) { LOG("Failure initializing with the default database."); } }