Everything

fputwc


Outputs one wide character to a stream input/output file.

[Format]

#include <stdio.h>

#include <wchar.h>

wint_t fputwc(wchar_t c, FILE *fp);

[Parameters]

c Character to be output

fp File pointer

[Return values]

Normal: Output wide character

Abnormal: EOF

[Remarks]

When a write error occurs, the error indicator for that file is set.

The fputwc function is the wide-character version of the fputc function.