dlog_query_cleanup subroutine
Purpose
Free memory allocated during a diagnostic event log query.
Syntax
#include <diag/diag_log.h>
int dlog_query_cleanup(query_results *results)
Description
The dlog_query_cleanup subroutine reclaims memory allocated during calls to dlog_query.
Parameters
Item | Description |
---|---|
results | Structure containing a pointer to a list of entries matching the input criteria. |
Return Value
The dlog_query_cleanup subroutine returns one of
the following values:
Item | Description |
---|---|
0 | If successful |
-1 | If unsuccessful |