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

Function dSprintf

Engine/source/core/strings/stringFunctions.cpp:400–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400S32 dSprintf(char *buffer, U32 bufferSize, const char *format, ...)
401{
402 va_list args;
403 va_start(args, format);
404
405 S32 len = vsnprintf(buffer, bufferSize, format, args);
406 va_end(args);
407
408 AssertWarn( len < bufferSize, "Buffer too small in call to dSprintf!" );
409
410 return (len);
411}
412
413
414S32 dVsprintf(char *buffer, U32 bufferSize, const char *format, va_list arglist)

Callers 15

updateReflectionMethod · 0.85
sceneContainer.cppFile · 0.85
updateMethod · 0.85
writeFieldsMethod · 0.85
collapseScriptFilenameFunction · 0.85
writeFieldsMethod · 0.85
writeMethod · 0.85
onTamlCustomReadMethod · 0.85
registerObjectMethod · 0.85
setIdMethod · 0.85
getPrefixedDataFieldMethod · 0.85

Calls

no outgoing calls

Tested by 5

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