wchar_t* fgetws (wchar_t* ws, int num, FILE* stream); Get wide
string from stream Reads wide characters from stream and stores
them as a C wide string into ws until (num-1) characters have
been read or either a newline or the end-of-file is reached,
whichever happens first. A newline wide character makes fgetws
stop reading, but it is considered a valid character by the
function and included in the string copied to ws. A terminating
null character is automatically appended after the characters
copied to ws. The external representation of wide characters in
files are multibyte characters: These are translated as if
mbrtowc was called (using the stream's internal mbstate_t
object). The function behaves as if fgetwc was used to read the
characters from the stream. This is the wide character
equivalent of fgets (<cstdio>). - Pointer to an array of wchar_t
where the wide string read is copied. - Maximum number of
characters to be copied into str (including the terminating
null-character). - Pointer to a FILE objec