Ets_Output_Value_Cache_Value_Name_Get()
Abstract
Gets the value name that is registered for a value cache.
Syntax
Ets_Output_Value_Cache_Value_Name_Get (cache_ptr, value_name_pptr)
| Argument | Type | Description |
|---|---|---|
cache_ptr |
EtsT_Output_Value_Cache * |
Output cache containing the registered value of interest. |
value_name_pptr |
char ** |
Address of area to hold the returned value name. This area can contain either a null pointer (PRGC_NIL) or an existing string. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if successful; EtsC_Compcode_Failure otherwise.
Header
ets_api_output.h
Details
If necessary, this function allocates (or reallocates) memory for the value name. The caller owns the value name string and should free it with prg_mem_free().