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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user