1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-18 23:11:19 +03:00
Files
KernelEx/kexcrt/snprintf.c
2018-11-03 16:21:13 +03:00

18 lines
239 B
C
Executable File

/*
* snprintf.c
*/
#include <stdio.h>
#include <stdarg.h>
int snprintf(char *buffer, size_t n, const char *format, ...)
{
va_list ap;
int rv;
va_start(ap, format);
rv = vsnprintf(buffer, n, format, ap);
va_end(ap);
return rv;
}