qdb_getoption()

Return the value for a database session option

Synopsis:

#include <qdb/qdb.h>

int qdb_getoption( qdb_hdl_t *db,
                   int option );

Arguments:

db
A pointer to the database handle.
option
The option you want to query. See qdb_setoption() for a list of database options.

Library:

qdb

Description:

This function returns the value of option for the database db.

Returns:

1
The value of the option is 1 (on).
0
The value of the option is 0 (off).
-1
The option isn't supported (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes