cpp/io/c/fgetwc

Reads the next wide character from the given input stream. may be implemented as a macro and may evaluate more than once.

Return value
The next wide character from the stream or weof if an error has occurred or the end of file has been reached. If an encoding error occurred, errno is set to eilseq.