Project

General

Profile

« Previous | Next » 

Revision 9b9561da

Added by danij over 15 years ago

Implemented dd_snprintf 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 (minus the terminating NULL), else -1.

Replaced all instances of snprintf with dd_snprintf.
Exported both dd_vsnprintf and dd_snprintf via the public API.
Addressed return value of dd_vsnprintf to account for the terminating NULL.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences