c/io/fwprintf

Loads the data from the given locations, 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@ If is greater than zero, writes the results to a wide string. At most wide characters are written followed by null wide character. If is zero, nothing is written (and  may be a null pointer). @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
 * (only for ) the number of wide characters to be written, including the null, would exceed.

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

Return value
@1,2@ Number of wide characters written if successful or negative value if an error occurred. @3@ Number of wide characters written (not counting the terminating null wide character) if successful or negative value if an encoding error occurred or if the number of characters to be generated was equal or greater than (including when  is zero). @4,5@ Number of wide characters written if successful or negative value if an error occurred. @6@ Number of wide characters (not counting the terminating null) that were written to. Returns a negative value on encoding errors and on overflow. Returns zero on all other errors. @7@ Number of wide characters (not counting the terminating null) that would have been written to had  been sufficiently large, or a negative value if an error occurs. (meaning, write was successful and complete only if the return is nonnegative and less than )