fgetwc(3) Library Functions Manual fgetwc(3) fgetwc, getwc - FILE Standard C library (libc, -lc) #include #include wint_t fgetwc(FILE *stream); wint_t getwc(FILE *stream); fgetwc() -- fgetc(3), . stream . ferror(stream) , WEOF. , errno EILSEQ WEOF. getwc() -- , , fgetwc(). , . . , . unlocked_stdio(3). On success, fgetwc() returns the next wide-character from the stream. Otherwise, WEOF is returned, and errno is set to indicate the error. : EILSEQ , , . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |fgetwc(), getwc() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. POSIX.1-2001, C99. fgetwc() LC_CTYPE . - , fopen(3), , fgetwc() , . fgetws(3), fputwc(3), ungetwc(3), unlocked_stdio(3) () Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux man-pages 6.12 23 2024 . fgetwc(3)