blob: b7785f89cd341cd28d3e79f1ef6c00050be3ab86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stdio.h>
#include "stdarg.h"
#include "_stdio.h"
int vsnprintf(char * restrict s, size_t n, const char *format, va_list arg)
{
int ret = 0;
struct io_options opt = {0};
opt.fnname = "fprintf";
opt.string = s;
opt.maxlen = n;
ret = __printf(&opt, format, arg);
return ret;
}
/*
STDC(199901)
*/
|