[Bf-committers] snprintf() -- function not present on Win32.
Alexander Ewering
bf-committers@blender.org
Sun, 9 Nov 2003 18:45:40 +0100 (CET)
On Sun, 9 Nov 2003, Stephane SOPPERA wrote:
> From a linux manpage:
> The fprintf, printf, sprintf, vprintf, vfprintf, and vsprintf
> functions
> conform to ANSI X3.159-1989 (``ANSI C'') and ISO/IEC 9899:1999
> (``ISO
> C99''). The snprintf and vsnprintf functions conform to
> ISO/IEC
> 9899:1999.
>
> snprintf is C99 and is safer than sprintf (see the bug I reported about
> sequence plugins)
You forget that hardly any current compiler is C99 compliant :)
| alexander ewering instinctive new media
| ae[@]instinctive[.]de http://www[.]instinctive[.]de