summaryrefslogtreecommitdiff
path: root/src/stdio/vsnprintf_s.c
blob: 3a4a1cce22058b41e11c850c0a421a2f7ee7c806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include "_stdio.h"

int vsnprintf_s(char * restrict s, rsize_t n, const char * restrict format, va_list arg)
{
	struct io_options opt = {
		.fnname = __func__,
		.string = s,
		.maxlen = n,
	};
	return __printf(&opt, format, ap);
}

/*
CEXT1(201112)
*/