EMILE/libunix/sprintf.c

21 lines
280 B
C
Raw Normal View History

2005-11-12 21:30:19 +00:00
/*
*
* (c) 2004,2005 Laurent Vivier <Laurent@lvivier.info>
2005-11-12 21:30:19 +00:00
*
*/
2005-11-08 02:04:54 +00:00
#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;
}