Inputs one wide character from a stream input/output file.
[Format]
#include <stdio.h>
#include <wchar.h>
wint_t fgetwc(FILE *fp);
[Parameters]
fp File pointer
[Return values]
Normal: End-of-file: EOF
Otherwise: Input wide character
Abnormal: EOF
[Remarks]
When a read error occurs, the error indicator for that file is set.
The fgetwc function is provided to support wide-character input to the fgetc function.