blob: 62963b2c885f4cfdcfb85b7bd7b3d6621252c9b8 (
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)
*/
|