mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-08 04:54:25 +00:00
21 lines
284 B
C
21 lines
284 B
C
/*
|
|
*
|
|
* (c) 2004,2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
*
|
|
*/
|
|
|
|
#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;
|
|
}
|