R
Rui Maciel
I've just noticed that the swprintf() function is declared differently in
some platforms. As far as I know, GCC declares that function as
int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...);
That definition is also present in references like:
http://www.opengroup.org/pubs/online/7908799/xsh/swprintf.html
On the other hand, it appears that at least the compiler from Microsoft
Visual Studio 2003 declares that function as:
int swprintf(wchar_t *s, const wchar_t *format, ...);
So what gives? First of all, is this function a part of the C standards? If
so, what is the standard definition, i.e., what is the right one?
Thanks in advance?
Rui Maciel
some platforms. As far as I know, GCC declares that function as
int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...);
That definition is also present in references like:
http://www.opengroup.org/pubs/online/7908799/xsh/swprintf.html
On the other hand, it appears that at least the compiler from Microsoft
Visual Studio 2003 declares that function as:
int swprintf(wchar_t *s, const wchar_t *format, ...);
So what gives? First of all, is this function a part of the C standards? If
so, what is the standard definition, i.e., what is the right one?
Thanks in advance?
Rui Maciel