c/io/vfwprintf

Loads the data from locations, defined by, converts them to wide string equivalents and writes the results to a variety of sinks.

@1@ Writes the results to stdout. @2@ Writes the results to a file stream. @3@ Writes the results to a wide string. At most wide characters are written followed by null wide character. The resulting wide character string will be terminated with a null wide character, unless is zero. @4-6@ Same as, except that the following errors are detected at runtime and call the currently installed constraint handler function:
 * the conversion specifier is present in
 * any of the arguments corresponding to is a null pointer
 * or is a null pointer
 * is zero or greater than
 * encoding errors occur in any of string and character conversion specifiers
 * (for only), the string to be stored in  (including the trailing wide null) would be exceed

@7@ Same as, except it will truncate the result to fit within the array pointed to by.

Return value
@1,4@ The number of wide characters written if successful or negative value if an error occurred. @3@ The number of wide characters written if successful or negative value if an error occurred. If the resulting string gets truncated due to limit, function returns the total number of characters (not including the terminating null wide character) which would have been written, if the limit were not imposed. @2,5@ number of wide characters transmitted to the output stream or negative value if an output error, a runtime constraints violation error, or an encoding error occurred. @6@ number of wide characters written to, not counting the null wide character (which is always written as long as is not a null pointer and  is not zero and not greater than ), or zero on runtime constraint violations, and negative value on encoding errors. @7@ number of wide characters not including the terminating null character (which is always written as long as is not a null pointer and  is not zero and not greater than ), which would have been written to  if  was ignored, or a negative value if a runtime constraints violation or an encoding error occurred.