compat/vsnprintf: return number of bytes required on truncation.
commitc1c8fdab46414e3518400d6ee18916d2444a06d7
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 14 Sep 2012 18:56:46 +0000 (14 18:56 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 15 Sep 2012 18:33:11 +0000 (15 14:33 -0400)
tree631b4bc2bf7c96ce2bd90491ff2806edf862a45f
parent3f7fd59d151a2773f0e2e93e56b6b13ec6e5334b
compat/vsnprintf: return number of bytes required on truncation.

This conforms to C99, but requires Windows >= XP.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
compat/msvcrt/snprintf.c