FPUTWC(3) BSD Programmer's Manual FPUTWC(3)NAME
fputwc, putwc, putwchar - put wide-character code on a stream
SYNOPSIS
#include <stdio.h>
#include <wchar.h>
wint_t
fputwc(wint_t wc, FILE *stream);
wint_t
putwc(wint_t wc, FILE *stream);
wint_t
putwchar(wint_t wc);
DESCRIPTION
The fputwc() and putwc() functions are equivalent. The putwchar() func-
tion is equivalent to fputwc(wc, stdout). They all put the wide-charac-
ter wc on the specified stream. This may cause more than a single byte to
be written to stream.
RETURN VALUES
If successful, these routines return wc, otherwise WEOF is returned and
the global value errno is set to the error.
SEE ALSOfopen(3), fwwrite(3), putc(3)BSDI BSD/OS December 9, 1997 1