标签:art start tput global int put turn ringbuf bug
void __cdecl OutputDebugStringF(const char* format ...){
va_list vlArgs;
char* stringBuffer=(char*)GlobalAlloc(GPTR,4096);
va_start(vl_Args,format);
_vsnprintf(stringBuffer,4096,-1,format,vlArgs);
va_end(vlArgs);
strcat(stringBuffer,"\n");
OutputDebugStringA(stringBuffer);
GlobalFree(stringBuffer);
return;
}
标签:art start tput global int put turn ringbuf bug
原文地址:http://www.cnblogs.com/zhuh102/p/6233311.html