|
noexcept |
The function behaves identically to vPrintfA but with some security enhancements.
[in] | pszFormat | is a pointer to a zero terminated string defining how to interpret data, passed as additional parameters, during the construction of the output. See PrintfA_s for the definition of the format lexemes. |
[in] | ap | is a variable argument list containing data used to construct an output string according to the format. |
The function behaves identically to vPrintfA except for the following explicit runtime constraints:
If any of this constraints are violated the function will generate assertion and, if continue of execution is allowed, fail setting errno to EINVAL. The function implements security enhancements for the vPrintfA function just like vprintf_s function, defined in the ISO/IEC TR 24731-1 standard, provides the same enhancements for the C99 [vprintf] function.