root/trunk/util/xc_trace.c @ 990

Revision 990, 333 bytes (checked in by moo, 10 months ago)

split trace

  • Property svn:eol-style set to native
Line 
1#include "xc_trace.h"
2#include <stdio.h>
3#include <stdarg.h>
4
5int xc_vtrace(const char *fmt, va_list args) /* {{{ */
6{
7    return vfprintf(stderr, fmt, args);
8}
9/* }}} */
10int xc_trace(const char *fmt, ...) /* {{{ */
11{
12    va_list args;
13    int ret;
14
15    va_start(args, fmt);
16    ret = xc_vtrace(fmt, args);
17    va_end(args);
18    return ret;
19}
20/* }}} */
21
Note: See TracBrowser for help on using the browser.