MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / snprintf

Function snprintf

src/os/strings.h:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24 #if _MSC_VER < 1900
25 static int snprintf(char *str, size_t size, const char *format, ...)
26 {
27 va_list ap;
28 int ret;
29
30 va_start(ap, format);
31 ret = vsnprintf(str, size, format, ap);
32 va_end(ap);
33 return ret;
34 }
35
36 /**
37 * Almost POSIX compliant implementation of \c vsnprintf for VC compiler.

Callers 15

String_GenerateFilenameFunction · 0.85
File_InitFunction · 0.85
GameLoop_PlayAnimationFunction · 0.85
Unit_DisplayStatusTextFunction · 0.85
Load_IniFileFunction · 0.85
buildOutPathFunction · 0.85
extractFileFunction · 0.85
extractPakInDirFunction · 0.85
parseMXFunction · 0.85
ReadDir_ProcessAllFilesFunction · 0.85

Calls 1

vsnprintfFunction · 0.85

Tested by

no test coverage detected