fgetws(3) [bsd man page]
FGETWS(3) Linux Programmer's Manual FGETWS(3) NAME
fgetws - read a wide-character string from a FILE stream SYNOPSIS
#include <wchar.h> wchar_t *fgetws(wchar_t *ws, int n, FILE *stream); DESCRIPTION
The fgetws() function is the wide-character equivalent of the fgets(3) function. It reads a string of at most n-1 wide characters into the wide-character array pointed to by ws, and adds a terminating null wide character (L'