MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / mprintf

Function mprintf

Libraries/unrar/consio.cpp:111–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110
111void mprintf(const wchar *fmt,...)
112{
113 if (MsgStream==MSG_NULL || MsgStream==MSG_ERRONLY)
114 return;
115
116 fflush(stderr); // Ensure proper message order.
117
118 va_list arglist;
119 va_start(arglist,fmt);
120 FILE *dest=MsgStream==MSG_STDERR ? stderr:stdout;
121 cvt_wprintf(dest,fmt,arglist);
122 va_end(arglist);
123}
124#endif
125
126

Callers 1

OutCommentFunction · 0.70

Calls 1

cvt_wprintfFunction · 0.85

Tested by

no test coverage detected