Symisc Systems

Libcox C/C++ API Reference - Libcox Command Processing


Star Follow @symisc

Syntax

int libcox_exec_result_destroy(libcox *pHandle,libcox_value *pValue);


Destroy a libcox value object.

Description

The libcox_exec_result_destroy() routine is the destructor for the libcox_value obtained by a prior successful call to libcox_exec or libcox_exec_fmt. Calls to libcox_exec_result_destroy() return LIBCOX_OK if the target libcox_value is successfully destroyed which is no longer usable after that.


Parameters

pHandle

Libcox Handle obtained a prior successful call to libcox_init().

pValue

libcox_value obtained by a prior successful call to libcox_exec or libcox_exec_fmt.


Return value

LIBCOX_OK is returned on success. Any other return value indicates failure.


See also

libcox_exec, libcox_init, libcox_release, libcox_config.