MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / DbugVfprintf

Function DbugVfprintf

dbug/dbug.c:1463–1468  ·  view source on GitHub ↗

* This function is intended as a * vfprintf clone with consistent, platform independent output for * problematic formats like %p, %zd and %lld. */

Source from the content-addressed store, hash-verified

1461 * problematic formats like %p, %zd and %lld.
1462 */
1463static void DbugVfprintf(FILE *stream, const char* format, va_list args)
1464{
1465 char cvtbuf[1024];
1466 (void) my_vsnprintf(cvtbuf, sizeof(cvtbuf), format, args);
1467 (void) fprintf(stream, "%s\n", cvtbuf);
1468}
1469
1470
1471/*

Callers 1

_db_doprnt_Function · 0.85

Calls 1

my_vsnprintfFunction · 0.85

Tested by

no test coverage detected