Return a cell's data
#include <qdb/qdb.h> void *qdb_cell( qdb_result_t *res, int row, int col );
This function returns the data from one cell of a database query result. The returned pointer points to the beginning of the data. You must cast the pointer to the appropriate data type, as in this example:
uint64_t storage_type = *(uint64_t*)qdb_cell(res, 0, 0);
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |