PUTWC(3W-SVR4) RISC/os Reference Manual PUTWC(3W-SVR4)
NAME
putwc, putwchar, fputwc - put wchar_t character on a stream
SYNOPSIS
#include <stdio.h>
#include <widec.h>
int putwc(wchart c, FILE *stream);
int putwchar(wchart c);
int fputwc(wchart c, FILE *stream);
DESCRIPTION
putwc() transforms the wchar_t character c into EUC, and
writes it onto 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.
DIAGNOSTICS
On success, each of these functions return the value they
have written. On failure, they return the constant EOF.
SEE ALSO
printf(3W), putws(3W), widec(3W).
fclose(3S), ferror(3S), fopen(3S), fread(3S), printf(3S),
setbuf(3S), stdio(3S).
Printed 11/19/92 Page 1