safec  3.0
Safe C Library - ISO TR24731 Bounds Checking Interface
vwprintf_s.c File Reference
#include "safe_str_lib.h"
+ Include dependency graph for vwprintf_s.c:

Functions

EXPORT int vwprintf_s (const wchar_t *restrict fmt, va_list ap)
 The vwprintf_s function prints formatted output to stdout as wide string. More...
 

Function Documentation

◆ vwprintf_s()

EXPORT int vwprintf_s ( const wchar_t *restrict  fmt,
va_list  ap 
)

The vwprintf_s function prints formatted output to stdout as wide string.

Remarks
SPECIFIED IN
Parameters
[in]fmtformat-control wide string.
[in]apoptional 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
-ESNULLPwhen fmt is NULL pointer
-EINVALwhen fmt contains n
-1some other error. errno: EINVAL or EOVERFLOW
See also
vwfprintf_s(), wprintf_s()