dbFreeResult(3dba)


dbFreeResult -- free memory used by the result of a database query

Synopsis

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

int dbFreeResult(DBResult *res);

Description

dbFreeResult frees the memory that was used in a query of the database by dbQuery(3dba).

Arguments


res
(Input) A result structure returned by a previous call to dbQuery(3dba).

Return values

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

Diagnostics

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

References

dbGetError(3dba), dbQuery(3dba), Intro(3dba)


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