Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
19
Src/replicant/nx/win/nxlog.c
Normal file
19
Src/replicant/nx/win/nxlog.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include "nxlog.h"
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
//#include <windows.h>
|
||||
|
||||
static char *nx_log_tag = "libreplicant";
|
||||
#define MAX_FMT_SIZE 512
|
||||
|
||||
void NXLog(int priority, char *fmt, ...){
|
||||
|
||||
char formatted_string[MAX_FMT_SIZE];
|
||||
|
||||
va_list argptr;
|
||||
va_start(argptr,fmt);
|
||||
vsnprintf(formatted_string, MAX_FMT_SIZE, fmt, argptr);
|
||||
va_end(argptr);
|
||||
|
||||
// OutputDebugString(formatted_string);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue