MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / kstrcatf

Function kstrcatf

src/library/common/kgen_basic.c:412–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void
413kstrcatf(Kstring *kstr, const char *fmt,...)
414{
415 va_list ap;
416 int len, maxlen;
417
418 va_start(ap, fmt);
419 len = (int)strlen(kstr->buf);
420 maxlen = sizeof(kstr->buf) - len;
421 len = vsnprintf(kstr->buf + len, maxlen, fmt, ap);
422 va_end(ap);
423
424 assert(len < maxlen);
425}
426
427

Callers 5

sprintfComplexMulUpdateFunction · 0.85
sprintfOffsetVectorFunction · 0.85
genUpdateGenericDiagTileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected