[Bf-committers] snprintf() -- function not present on Win32.

Alexander Ewering bf-committers@blender.org
Sun, 9 Nov 2003 15:27:19 +0100 (CET)


On Sun, 9 Nov 2003, Simon Clitherow wrote:

> Ok, false alarm!  Found the function in stdio.h. :)

In fact, snprintf() is NOT portable!

>From a BSD manpage:

     hard to assure.  For safety, programmers should use the snprintf()
inter-
     face instead.  Unfortunately, this interface is not portable.

>From a Linux manpage:

CONFORMING TO
       These are GNU extensions.


| alexander ewering               instinctive new media
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de