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

  man pages->IRIX man pages -> putwc (3s)              
Title
Content
Arch
Section
 

Contents


putwc(3S)							     putwc(3S)


NAME    [Toc]    [Back]

     putwc, putwchar, fputwc - put wchar_t character on	a stream

SYNOPSIS    [Toc]    [Back]

     #include <stdio.h>
     #include <widec.h>

     int putwc(wchar_t c<b>, FILE *stream<b>);
     int putwchar(wchar_t c<b>);

     int fputwc(wchar_t	c<b>, FILE	*stream<b>);

DESCRIPTION (International Functions)    [Toc]    [Back]

     putwc transforms the wchar_t character c into EUC,	and writes it to the
     output stream (at the position where the file pointer, if defined,	is
     pointing).	 The putwchar(c) is defined as putwc(c,	stdout).  putwc	and
     putwchar are macros.

     fputwc behaves like putwc,	but is a function rather than a	macro.

SEE ALSO    [Toc]    [Back]

      
      
     fclose(3S), ferror(3S), fopen(3S),	fread(3S), printf(3S), setbuf(3S),
     stdio(3S),	putws(3S), widec(3S).

DIAGNOSTICS    [Toc]    [Back]

     On	success, these functions return	the value they have written.  On
     failure, they return the constant EOF.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
getwc IRIX get wchar_t character or word from a stream
getc IRIX get character or word from a stream
putc IRIX put character or word on a stream
putc_unlocked OpenBSD put next character from stream, efficiently
getchar_unlocked OpenBSD get next character from stream, efficiently
ungetc OpenBSD un-get character from input stream
ungetc NetBSD un-get character from input stream
getc_unlocked OpenBSD get next character from stream, efficiently
putchar_unlocked OpenBSD put next character from stream, efficiently
ungetc FreeBSD un-get character from input stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service