19 #if !defined(WIN32) && defined(WIN64) 25 inline int swprintf(
wchar_t* buffer,
size_t count,
const wchar_t* format, ...)
30 va_start(argptr, format);
33 const int lResult = ::_vsnwprintf(buffer, count, format, argptr);
42 inline int sprintf(
char* buffer,
size_t count,
const char* format, ...)
47 va_start(argptr, format);
51 const int lResult = ::_vsnprintf_s(buffer, count, count, format, argptr);
53 const int lResult = ::vsnprintf(buffer, count, format, argptr);
61 #if !defined(WIN32) && defined(WIN64) 84 inline int sprintf_s(
char *buffer,
size_t sizeOfBuffer,
const char* format, ...)
87 va_start(argptr, format);
88 const int lResult = ::vsnprintf(buffer, sizeOfBuffer, format, argptr);
106 inline int swprintf_s(
wchar_t *buffer,
size_t sizeOfBuffer,
const wchar_t* format, ...)
109 va_start(argptr, format);
110 const int lResult = ::_vsnwprintf(buffer, sizeOfBuffer, format, argptr);
int sprintf(char *buffer, size_t count, const char *format,...)
Definition: PDCstdio.h:42