1PUTWCHAR(3)                Linux Programmer's Manual               PUTWCHAR(3)
2
3
4

NAME

6       putwchar - write a wide character to standard output
7

SYNOPSIS

9       #include <wchar.h>
10
11       wint_t putwchar(wchar_t wc);
12

DESCRIPTION

14       The  putwchar()  function  is  the  wide-character  equivalent  of  the
15       putchar() function. It writes the wide character wc to stdout.  If fer‐
16       ror(stdout)  becomes true, it returns WEOF. If a wide character conver‐
17       sion error occurs, it sets errno to EILSEQ and returns WEOF.  Otherwise
18       it returns wc.
19
20       For a non-locking counterpart, see unlocked_stdio(3).
21

RETURN VALUE

23       The  putwchar()  function  returns  wc if no error occurred, or WEOF to
24       indicate an error.
25

CONFORMING TO

27       C99.
28

NOTES

30       The behaviour of putwchar() depends on the  LC_CTYPE  category  of  the
31       current locale.
32
33       It  is  reasonable  to  expect  that putwchar() will actually write the
34       multibyte sequence corresponding to the wide character wc.
35

SEE ALSO

37       fputwc(3), unlocked_stdio(3)
38
39
40
41GNU                               1999-07-25                       PUTWCHAR(3)
Impressum