EDCS Reference Manual
Functions
EDCS SetString
extern EDCS_Status_Code
EDCS_SetString
(
const EDCS_Locale  *locale_ptr,1
const char  *c_str_ptr,2
EDCS_String  *string_out_ptr3
);

Definition

Creates an EDCS_String given a C string. If locale_ptr is NULL, EDCS_LOCALE_DEFAULT is used as the locale.


Returns

EDCS_SC_SUCCESS and *string_out_ptr is populated from c_str_ptr, if valid parameters were passed in and all operations succeeded.
EDCS_SC_NULL_REQUIRED_PARAMETER if c_str_ptr or string_out_ptr was NULL.
EDCS_SC_OTHER_FAILURE if memory allocation failed.

Parameters Notes

1 EDCS_Locale to populate output.

2 C string to populate output

3 EDCS_String being populated


Prev: EDCS_SetPrecision. Next: EDCS_SymbolicConstantToEACode. Up:Index.