EMILE/libunix/sprintf.c
2006-09-15 14:55:39 +00:00

21 lines
280 B
C

/*
*
* (c) 2004,2005 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <stdarg.h>
#include <stdio.h>
int sprintf(char * s, const char * format, ...)
{
va_list params;
int r;
va_start(params, format);
r = vsprintf(s, format, params);
va_end(params);
return r;
}