ec_snprintf — Momentum snprintf function
int **ec_snprintf** ( | str, | |
| | size, | |
| | fmt, | |
); | |
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Momentum snprintf function.
Private version of snprintf() with consistent format string support and return value.
the string to be written to
the size of str (including the terminating NUL)
the format string
Returns the number of characters it tried to write. If this value is >= size, truncation ocurred. Note that str is always NUL-terminated as long as size is > 0.