mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 09:40:52 +00:00
c501d8112c
svn path=/branches/aicom-network-fixes/; revision=34994
29 lines
539 B
C
29 lines
539 B
C
/*
|
|
* PROJECT: ReactOS CRT library
|
|
* LICENSE: LGPL - See COPYING in the top level directory
|
|
* FILE: lib/sdk/crt/stdio/lnx_sprintf.c
|
|
* PURPOSE: Base implementation of sprintf
|
|
* PROGRAMMERS: Aleksey Bragin (aleksey@reactos.org)
|
|
*/
|
|
|
|
#include <precomp.h>
|
|
|
|
#include <wchar.h>
|
|
#include <tchar.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int
|
|
lnx_sprintf(_TCHAR *str, const _TCHAR *fmt, ...)
|
|
{
|
|
va_list arg;
|
|
int done;
|
|
|
|
va_start (arg, fmt);
|
|
done = lnx__vstprintf (str, fmt, arg);
|
|
va_end (arg);
|
|
return done;
|
|
}
|
|
|