MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / dSprintf

Function dSprintf

Engine/source/core/strings/stringFunctions.cpp:462–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462S32 dSprintf(char *buffer, U32 bufferSize, const char *format, ...)
463{
464 va_list args;
465 va_start(args, format);
466
467 S32 len = vsnprintf(buffer, bufferSize, format, args);
468 va_end(args);
469
470 AssertWarn( len < bufferSize, "Buffer too small in call to dSprintf!" );
471
472 return (len);
473}
474
475
476S32 dVsprintf(char *buffer, U32 bufferSize, const char *format, va_list arglist)

Callers 15

updateSelectionMethod · 0.85
setNodePositionMethod · 0.85
setNodeRotationMethod · 0.85
setNodeWeightMethod · 0.85
undoMethod · 0.85
onAttachObjectMethod · 0.85
onDetachObjectMethod · 0.85
advanceObjectMethod · 0.85
VPath.cppFile · 0.85
onMouseEventMethod · 0.85
onRenderMethod · 0.85

Calls

no outgoing calls

Tested by 5

TESTFunction · 0.68
constructEditControlMethod · 0.68
constructMethod · 0.68
_setCommandMethod · 0.68
onAddMethod · 0.68