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

Function dSprintf

engine/source/platformAndroid/AndroidStrings.cpp:331–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331int dSprintf(char *buffer, dsize_t bufferSize, const char *format, ...)
332{
333 va_list args;
334 va_start(args, format);
335 S32 len = vsprintf(buffer, format, args);
336
337 // Sanity!
338 AssertFatal(len <= bufferSize, "dSprintf - String format exceeded buffer size. This will cause corruption.");
339
340 return (len);
341}
342
343
344int dVsprintf(char *buffer, dsize_t bufferSize, const char *format, va_list arglist)

Callers 9

initWindowMethod · 0.70
T2DActivity.cppFile · 0.70
setScreenModeMethod · 0.70
createPathMethod · 0.70
isMainDotCsPresentFunction · 0.70
dumpDirectoriesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected