summaryrefslogtreecommitdiff
path: root/riscv/riscv-probe/libfemto/std/printf.c
blob: 5d81212119367d1cd07c44d031f29d57d4c69942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// See LICENSE for license details.

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

int printf(const char* s, ...)
{
    int res = 0;
    va_list vl;
    va_start(vl, s);
    res = vprintf(s, vl);
    va_end(vl);
    return res;
}