fgetws(3) Library Functions Manual fgetws(3) fgetws - FILE (libc -lc) #include wchar_t *fgetws(int n; wchar_t ws[restrict n], int n, FILE *restrict stream); fgetws() fgets(3). n-1 ws (L'\0'). . . n ws. unlocked_stdio(3). fgetws() ws . NULL. attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |fgetws() | | MT-Safe | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. POSIX.1-2001 C99. fgetws() LC_CTYPE . fopen(3) fgetws() . . fgetwc(3), unlocked_stdio(3) 3 . . : . 6.18 8 2026 fgetws(3)