qdb_geterrcode()

Return the last error code

Synopsis:

#include <qdb/qdb.h>

int qdb_geterrcode(qdb_hdl_t *db);

Arguments:

hdl
A pointer to the database handle.

Library:

qdb

Description:

This function returns the SQL error code for the most recent call to:

You typically call this function after one of the above functions fails.

Returns:

>0
The SQL error code from the last failed QDB operation.
0
There is no error, or the database handle is invalid.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes