aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/printf.c
blob: a6f5b50828dd28e266d1ad7c152e786b7b01e593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * printf.c
 */

#include <stdio.h>
#include <stdarg.h>

#define BUFFER_SIZE	16384

int printf(const char *format, ...)
{
    va_list ap;
    int rv;

    va_start(ap, format);
    rv = vfprintf(stdout, format, ap);
    va_end(ap);
    return rv;
}