.TH GDI_CLOSE 3f "8/19/93 (v16.3)"
.ig
% ptroff -man gdi_close.3f
SccsID=@(#)gdi_close.3f	16.3 8/19/93
..
.SH NAME
.PP
gdi_close \- close the specified database connection
.SH SYNOPSIS
.PP
.nf
.ta 8 16
.B #include "gdi_f77.h"
.sp
.B integer function gdi_close (conn)
\fBinteger	conn\fP	(i) database connection
.fi
.SH DESCRIPTION
.PP
gdi_close()
closes a connection to the database and frees the database connection
structure, \fIdbConn\fP, associated with the \fIconn\fP parameter.
.SH ARGUMENTS
.PP
.TP 12
.B conn
The database connection handle of the connection to be closed.
.SH SAMPLE CODE
.PP
See libsrc/libgendb/test/postgres or libsrc/libgendb/test/oracle.
.SH DIAGNOSTICS
.PP
gdi_close() returns one of the following status values.
.TP 12
.B GDI_SUCCESS
Connection successfully closed.
.TP 12
.B GDI_FAILURE
Not connected to database.
.SH FILE
.PP
gdi_f77_conn.c
.SH NOTES
.PP
The SYBASE and INGRES interfaces have not been implemented yet.
.SH SEE ALSO
.PP
.BR gdi_open (3),
.BR gdi_open (3f)
.SH AUTHOR
.PP
H. Turner, SAIC Geophysical Systems Operation, Open Systems Division

