c/io/fgetws

Reads at most wide characters from the given file stream and stores them in. The produced wide string is always null-terminated. Parsing stops if end-of-file occurs or a newline wide character is found, in which case will contain that wide newline character.

Return value
on success, a null pointer on an error