ia64/xen-unstable

view tools/libxc/xc_io.c @ 1921:24ecc060e9d7

bitkeeper revision 1.1108.21.1 (41062740xHG36OEbpVAmVX5N9WCaNw)

make vmlinuz really stripped
author cl349@freefall.cl.cam.ac.uk
date Tue Jul 27 09:58:24 2004 +0000 (2004-07-27)
parents 51b2d77c6d1f
children dae98734f12e
line source
1 #include "xc_io.h"
3 void xcio_error(XcIOContext *ctxt, const char *msg, ...){
4 va_list args;
6 va_start(args, msg);
7 vfprintf(stdout, msg, args); fprintf(stdout, "\n"); fflush(stdout);
8 IOStream_vprint(ctxt->info, msg, args);
9 IOStream_print(ctxt->info, "\n");
10 va_end(args);
11 }
13 void xcio_info(XcIOContext *ctxt, const char *msg, ...){
14 va_list args;
16 if(0 && !(ctxt->flags & XCFLAGS_VERBOSE)) return;
17 va_start(args, msg);
18 vfprintf(stdout, msg, args); fprintf(stdout, "\n");
19 IOStream_vprint(ctxt->info, msg, args);
20 va_end(args);
21 }
23 void xcio_debug(XcIOContext *ctxt, const char *msg, ...){
24 va_list args;
26 if(0 && !(ctxt->flags & XCFLAGS_DEBUG)) return;
27 va_start(args, msg);
28 vfprintf(stdout, msg, args); fprintf(stdout, "\n");
29 IOStream_vprint(ctxt->info, msg, args);
30 va_end(args);
31 }