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 the list of database
session options.
Library:
qdb
Description:
This function returns the value of the specified database session option for the
specified database.
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 |