source: git/util/xc_trace.c @ 0af13b3

3.03.13.2trunk
Last change on this file since 0af13b3 was 0af13b3, checked in by Xuefer <xuefer@…>, 8 years ago

split trace

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@990 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

  • Property mode set to 100644
File size: 333 bytes
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 repository browser.