aboutsummaryrefslogtreecommitdiffstats
path: root/io/snprintf.c
blob: c2a8f66ebe8f1de3997484ff518210b85767c24d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "io.h"

int snprintf(char *string, size_t max_size, char const *restrict format, ...)
{
	va_list arg;
	va_start(arg, format);
	int lenght = _vsnprintf_wrap(string, max_size, format, arg);
	va_end(arg);
	return lenght;
}