smc_get_version_string

Description

Returns the Monitor Client Library version number.

Syntax

SMC_RETURN_CODE smc_get_version_string 
 (SMC_CHARPP        versionBuffer)

Parameters

versionBuffer

return value that contains the version string.

Returns

Return value

Indicates

SMC_RET_SUCCESS

Function succeeded.

SMC_RET_FAILURE

Function failed.

Examples

Example 1

SMC_CHARP versionBufferHandle;
if (smc_get_version_string(&versionBufferHandle)
                              != SMC_RET_SUCCESS) 
 {
 		printf("smc_get_version_string failed\n");
 		/* do some cleanup */
 }
 printf("%s\n",versionBufferHandle);
free(versionBufferHandle);

Usage