1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-05 01:54:00 +00:00

Added MIPS24KC (OpenWRT) Support

This commit is contained in:
Bryan Roe
2020-08-19 17:40:34 -07:00
parent fbccacaaf4
commit 9890200f25
6 changed files with 37 additions and 1 deletions

View File

@@ -8827,6 +8827,13 @@ char* ILibString_Copy(const char *inString, int length)
RetVal[length] = 0;
return RetVal;
}
char* ILibString_CopyEx(const char *inString, size_t length)
{
if (length == 0) { length = strnlen_s(inString, sizeof(ILibScratchPad)); }
char *retVal = ILibMemory_SmartAllocate(length + 1);
memcpy_s(retVal, length + 1, inString, length);
return(retVal);
}
/*! \fn ILibString_ToUpper(const char *inString, int length)
\brief Coverts the given string to upper case
\par