Symisc Systems

Libcox C/C++ API Reference - Libcox Handle


Star Follow @symisc

Syntax

int libcox_release(libcox *pHandle);


Destroy a libcox handle.

Description

The libcox_release() routine is the destructor for the libcox handle. Calls to libcox_release() return LIBCOX_OK if the libcox object is successfully destroyed and all associated resources are deallocated.


Parameters

pHandle

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


Return value

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


See also

libcox_exec, libcox_init, libcox_exec_result_destroy, libcox_config.