fputwc(3) Library Functions Manual fputwc(3) fputwc, putwc - FILE LIBRARY Standard C library (libc, -lc) #include #include wint_t fputwc(wchar_t wc, FILE *stream); wint_t putwc(wchar_t wc, FILE *stream); fputwc -- fputc(3), . wc stream. ferror(stream) , WEOF. , errno EILSEQ WEOF. wc. putwc() -- , , fputwc(). , . . , . unlocked_stdio(3). On success, fputwc() function returns wc. Otherwise, WEOF is returned, and errno is set to indicate the error. : EILSEQ wc . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |fputwc(), putwc() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. C99, POSIX.1-2001. fputwc() LC_CTYPE . - , fopen(3), , fputwc() , wc. . fgetwc(3), fputws(3), unlocked_stdio(3) Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . fputwc(3)