Perform a database query
#include <qdb/qdb.h> qdb_result_t *qdb_query( qdb_hdl_t *db, int size_hint, const char *fmt, ... );
qdb
This convenience function provides a single-interface alternative to calling qdb_statement() and qdb_getresult(), and offers a potential performance improvement if the statement and result communication can be made with a single context switch.
A valid pointer to a qdb_result_t structure, or NULL if an error occurs (errno is set).
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |