MCPcopy Create free account
hub / github.com/crownengine/crown / strCat

Function strCat

3rdparty/bx/src/string.cpp:325–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323 }
324
325 inline int32_t strCat(char* _dst, int32_t _dstSize, const char* _src, int32_t _num)
326 {
327 BX_ASSERT(NULL != _dst, "_dst can't be NULL!");
328 BX_ASSERT(NULL != _src, "_src can't be NULL!");
329 BX_ASSERT(0 < _dstSize, "_dstSize can't be 0!");
330
331 const int32_t max = _dstSize;
332 const int32_t len = strLen(_dst, max);
333 return strCopy(&_dst[len], max-len, _src, _num);
334 }
335
336 int32_t strCat(char* _dst, int32_t _dstSize, const StringView& _str, int32_t _num)
337 {

Callers 6

strCatSafeFunction · 0.85
compileFunction · 0.85
screenShotMethod · 0.85
joinMethod · 0.85
strcatFunction · 0.85
openMethod · 0.85

Calls 3

strLenFunction · 0.85
strCopyFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected