putwc(3I) manual page
Table of Contents
putwc, putwchar, fputwc - convert Process Code character to EUC and
put on a stream
cc [ flag ... ] file ... -lw [ library ... ]
#include <stdio.h>
#include <widec.h>
wchar_t putwc(int c, FILE
*stream);
wchar_t putwchar(int c);
wchar_t fputwc(int
c, FILE
*stream);
MT-Safe
putwc() and fputwc()
convert the Process Code (wchar_t) character c to Extended Unix Code (EUC)
and write it onto the named output stream (at the position where the file
pointer, if defined, is pointing). It returns the character written.
putwchar(c)
is defined as fputwc(c,stdout). putwc() and putwchar() are macros.
See stdio(3S)
for a discussion of output streams.
On success, these functions
each return the value passed. On error, these functions return the constant
EOF
.
fclose(3S)
, ferror(3S)
, fopen(3S)
, fread(3S)
, getwc(3I)
, printf(3S)
,
putc(3S)
, putws(3I)
, setbuf(3S)
, stdio(3S)
Table of Contents