Implemented dd_vsnprintf to standardize the differences between the MSVC and C99 implementations. The output buffer is always terminated. Return value is as per the MSVC specification: Number of characters written to the output buffer if lower than or equal to the size of the output buffer, else -1.
Replaced all instances of vsnprintf with dd_vsnprintf.
Implemented dd_vsnprintf to standardize the differences between the MSVC and C99 implementations. The output buffer is always terminated. Return value is as per the MSVC specification: Number of characters written to the output buffer if lower than or equal to the size of the output buffer, else -1.
Replaced all instances of vsnprintf with dd_vsnprintf.