MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / writef

Function writef

3rdparty/cppdap/src/io.cpp:247–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247bool writef(const std::shared_ptr<Writer>& w, const char* msg, ...) {
248 char buf[2048];
249
250 va_list vararg;
251 va_start(vararg, msg);
252 vsnprintf(buf, sizeof(buf), msg, vararg);
253 va_end(vararg);
254
255 return w->write(buf, strlen(buf));
256}
257
258} // namespace dap

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected