Perform a database query
#include <qdb/qdb.h>
qdb_result_t *qdb_query( qdb_hdl_t *db,
int size_hint,
const char *fmt, ... );
This convenience function provides a single-interface alternative to calling qdb_statement() and then qdb_getresult(). It also offers a 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 |