ec_vsnprintf — Momentum vsnprintf function
int **ec_vsnprintf** ( | str, | |
| | size, | |
| | fmt, | |
| | ap
); | |
char * <var class="pdparam">str</var>;
size_t <var class="pdparam">size</var>;
const char * <var class="pdparam">fmt</var>;
va_list <var class="pdparam">ap</var>;
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 vsnprintf function.
Private version of vsnprintf() 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
list of arguments
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.