qdb_disconnect()

Disconnect from a database

Synopsis:

#include <qdb/qdb.h>

int qdb_disconnect( qdb_hdt_t *db );

Arguments:

db
A pointer to the handle of the database to disconnect from.

Library:

qdb

Description:

This function terminates the connection with a database previously connected to with qdb_connect().

You should disconnect from all databases when you're finished using them.

Returns:

>=0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes