OpenDOF Project
DOSStatus DOSValue_Get_String ( uint32  len,
char *  buf 
)

Unmarshal a string from the receive buffer in standard C form (with a NULL terminating character).

For strings that may contain embedded NULL characters (valid for some wide-character string encodings), use DOSValue_Get_BLOB instead.

Parameters
lenThe max length of the buffer passed to the function, including the NULL terminator.
bufPointer to an array of at least len bytes to hold the value, including the NULL terminator. Only valid if DOSSTATUS_SUCCESS is returned. Must not be NULL.
Returns
DOSSTATUS_SUCCESS if everything went ok; otherwise error.
core-c-cos Version 7.0.1 Build 0
2018-02-08