Chameleon

Chameleon Svn Source Tree

Root/branches/xZen/i386/modules/klibc/printf.c

Source at commit 1209 created 12 years 9 months ago.
By meklort, Use printf from klibc instead of from console.c
1/*
2 * printf.c
3 */
4
5#include <stdio.h>
6#include <stdarg.h>
7
8#define BUFFER_SIZE16384
9
10int printf(const char *format, ...)
11{
12va_list ap;
13int rv;
14
15va_start(ap, format);
16rv = vfprintf(NULL, format, ap);
17va_end(ap);
18return rv;
19}
20

Archive Download this file

Revision: 1209