Resolves to fPrintfA_s or to fPrintfW_s depending on the template parameter.
- Template Parameters
-
CHAR_TYPE | is a template parameter specifying a type of strings the template specialization is to work with. That is CHAR_TYPE=char for multibyte strings in the current locale or CHAR_TYPE=wchar_t for wide strings. The corresponding functions, wrapped over by the template specializations, are fPrintfA_s and fPrintfW_s. |
- Parameters
-
[in] | stream | is a stream descriptor where the formatted string is flushed out. |
[in] | pszFormat | is a zero-terminated formatting string. |
| ... | constitute an optional set of additional parameters to build the formatted output according to pszFormat. |
- Returns
- On success the function returns a number of characters of the output not counting the terminating zero. If an output, encoding or runtime constraint violation error occurs the function returns a negative value.
See fPrintfA_s and fPrintfW_s for the details.