qdb_freeresult()

Updated: April 19, 2023

Free the result of an SQL statement

Synopsis:

#include <qdb/qdb.h>

int qdb_freeresult( qdb_result_t *result );

Arguments:

result
A pointer to a result structure to free.

Library:

qdb

Description:

This function frees a result previously returned from qdb_getresult(). You should call qdb_freeresult() when you're finished using a result set, to reduce your application's memory footprint.

Returns:

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

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes