MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / log_vprintf

Function log_vprintf

tinyemu/riscv_cpu.c:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67static FILE *log_file;
68
69static void log_vprintf(const char *fmt, va_list ap)
70{
71 if (!log_file)
72 log_file = fopen("/tmp/riscemu.log", "wb");
73 vfprintf(log_file, fmt, ap);
74}
75#else
76static void log_vprintf(const char *fmt, va_list ap)
77{

Callers 1

log_printfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected