The vwprintf_s function prints formatted output to stdout as wide string.
- Parameters
-
[in] | fmt | format-control wide string. |
[in] | ap | optional arguments |
- Precondition
fmt
shall not be a null pointer.
-
fmt
shall not contain the conversion specifier n
-
None of the arguments corresponding to
s
is a null pointer (not yet)
-
No encoding error shall occur.
- Returns
- On success the total number of wide characters written is returned.
-
On failure a negative number is returned, and possibly errno set to EINVAL or EOVERFLOW.
- Return values
-
-ESNULLP | when fmt is NULL pointer |
-EINVAL | when fmt contains n |
-1 | some other error. errno: EINVAL or EOVERFLOW |
- See also
- vwfprintf_s(), wprintf_s()