Function DP_ReadFileToChar2

Function DP_ReadFileToChar2#

Function Documentation#

const char *DP_ReadFileToChar2(const char *c_model, int *size)#

Read a file to a char array. This version can handle string with ‘\0’.

Version

2

Parameters:
  • c_model[in] The name of the file.

  • size[out] The size of the char array.

Returns:

const char* The char array.