*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> putwchar (3)              
Title
Content
Arch
Section
 

PUTWCHAR(3)

Contents


NAME    [Toc]    [Back]

       putwchar - write a wide character to standard output

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       wint_t putwchar (wchar_t wc);

DESCRIPTION    [Toc]    [Back]

       The  putwchar  function is the wide-character equivalent of the putchar
       function. It writes the wide character wc to stdout.  If ferror(stdout)
       becomes	true,  it  returns  WEOF. If a wide character conversion error
       occurs, it sets errno to EILSEQ and returns WEOF.  Otherwise it returns
       wc.

RETURN VALUE    [Toc]    [Back]

       The putwchar function returns wc if no error occurred, or WEOF to indicate
 an error.

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       fputwc(3)

NOTES    [Toc]    [Back]

       The behaviour of putwchar depends on the LC_CTYPE category of the  current
 locale.

       It is reasonable to expect that putwchar will actually write the multibyte
 sequence corresponding to the wide character wc.



GNU				  1999-07-25			   PUTWCHAR(3)
[ Back ]
 Similar pages
Name OS Title
tee Linux read from standard input and write to standard output and files
echo OpenBSD write arguments to the standard output
echo FreeBSD write arguments to the standard output
strace HP-UX write STREAMS event trace messages to standard output
getwchar Linux read a wide character from standard input
fputwc Tru64 Write a wide character to a stream
putwc Tru64 Write a wide character to a stream
putwchar Tru64 Write a wide character to a stream
fputws Tru64 Write a wide-character string to a stream
fputwc Linux write a wide character to a FILE stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service