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