summaryrefslogtreecommitdiff
path: root/com32/lib/fprintf.c
blob: 5eb8e0797cec35e89dea8af19fba44c98abcc9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * fprintf.c
 */

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

int fprintf(FILE * file, const char *format, ...)
{
    va_list ap;
    int rv;

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