[Pixman] [PATCH 2/3] test: Fix tests for compilation on Windows

Brent Fulgham bfulgham at gmail.com
Wed Feb 23 10:10:36 PST 2011


HI,

On Wed, Feb 23, 2011 at 9:32 AM, Andrea Canciani <ranma42 at gmail.com> wrote:
> The documentation states that it is deprecated and that it does not behave
> as snprintf:
> "The _snprintf function formats and stores count or fewer characters
> in buffer, and appends a terminating null character if the formatted
> string length is strictly less than count characters."
> (from http://msdn.microsoft.com/en-us/library/2ts7cx93%28v=vs.80%29.aspx )

As long as printf is fine for your purposes, then by all means please use it!

Thanks,

-Brent


More information about the Pixman mailing list