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

19 lines
238 B
C
Executable File

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