qdb_disconnect()

Disconnect from a database

Synopsis:

#include <qdb/qdb.h>

int qdb_disconnect( qdb_hdt_t *hdl );

Arguments:

hdl
A pointer to the database handle to disconnect from.

Library:

qdb

Description:

This function disconnects from a database connected to previously by qdb_connect().

You should disconnect from all connections when you have finished with them.

Returns:

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

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

qdb_connect()