aboutsummaryrefslogtreecommitdiffstats
path: root/core/printf.c
blob: 5cd3a148d69ccc299b3fe2555052cf4bc79e17b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <unistd.h>

#include "core.h"

/*
int printf(const char *format, ...)
{
    char buf[1024];
    va_list ap;
    int rv;
    
    va_start(ap, format);
    rv = vsnprintf(buf, sizeof buf, format, ap);
    va_end(ap);
    
    myputs(buf);

    return rv;

}
*/