qdb_getoption()

Return the value for a database session option

Synopsis:

#include <qdb/qdb.h>

int qdb_getoption( qdb_hdt_t *hdl,
                   int option );

Arguments:

hdl
A pointer to the database handle.
option
The option you'd like to query. See qdb_setoption() for a list of database options.

Library:

qdb

Description:

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

Returns:

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

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes