MCPcopy Index your code
hub / github.com/assaultcube/AC / printf

Method printf

source/src/stream.cpp:961–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

959 }
960
961 int printf(const char *fmt, ...) // limited to MAXSTRLEN
962 {
963 int len = 0;
964 if(data)
965 {
966 defvformatstring(temp, fmt, fmt);
967 len = strlen(temp);
968 if(len) data->put((uchar *)temp, len);
969 }
970 return len;
971 }
972};
973
974struct memstream : stream

Callers 15

stackdumperFunction · 0.45
stackdumperMethod · 0.45
loadMethod · 0.45
readmapsthreadFunction · 0.45
initmapMethod · 0.45
dumpMethod · 0.45
loopvFunction · 0.45
writevitasFunction · 0.45
loopvjFunction · 0.45
writemapmodelattributesFunction · 0.45
loopvFunction · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected