compat/vsnprintf: return number of bytes required on truncation.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 14 Sep 2012 20:03:25 +0000 (16:03 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 15 Sep 2012 23:46:54 +0000 (19:46 -0400)
commit663c21d4ac1a011f71fe48a6a8b6934cd2ef1a4b
tree341dffc8c1eccb7321371e0e52f75ea9f4415b79
parente1b449604018c4e5eedf4abf393c0a170fd407cb
compat/vsnprintf: return number of bytes required on truncation.

This conforms to C99, but requires Windows >= XP.
compat/msvcrt/snprintf.c