MCPcopy Create free account
hub / github.com/audacity/audacity / utf8_printf

Function utf8_printf

lib-src/sqlite/shell.c:463–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461*/
462#if defined(_WIN32) || defined(WIN32)
463void utf8_printf(FILE *out, const char *zFormat, ...){
464 va_list ap;
465 va_start(ap, zFormat);
466 if( stdout_is_console && (out==stdout || out==stderr) ){
467 char *z1 = sqlite3_vmprintf(zFormat, ap);
468 char *z2 = sqlite3_win32_utf8_to_mbcs_v2(z1, 0);
469 sqlite3_free(z1);
470 fputs(z2, out);
471 sqlite3_free(z2);
472 }else{
473 vfprintf(out, zFormat, ap);
474 }
475 va_end(ap);
476}
477#elif !defined(utf8_printf)
478# define utf8_printf fprintf
479#endif

Callers 15

iotracePrintfFunction · 0.85
utf8_width_printFunction · 0.85
shellLogFunction · 0.85
shellPutsFuncFunction · 0.85
output_quoted_stringFunction · 0.85
output_html_stringFunction · 0.85
output_csvFunction · 0.85
shellAuthFunction · 0.85
printSchemaLineFunction · 0.85
eqp_appendFunction · 0.85
eqp_render_levelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected