DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

dbCloseConn(3dba)


dbCloseConn -- close a database connection

Synopsis

cc [flag ...] file ... -kthread -leels [library] ...
#include <eelsdba.h>

int dbCloseConn(DBConn *conn);

Description

dbCloseConn closes a connection to a database.

Arguments


conn
(Input) A database connection returned by a previous call to dbConnect(3dba).

Return values

If successful, dbCloseConn returns 0. Otherwise, it returns -1.

Diagnostics

An application can call dbGetError(3dba) to obtain the error message returned from the database.

References

dbConnect(3dba), dbGetError(3dba), Intro(3dba)


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004