December 2005
Beginner to intermediate
618 pages
20h 19m
English
putwc
Writes a wide character to a file
#include <stdio.h> #include <wchar.h> wint_tputwc( wchar_tc, FILE *fp);
The function or macro putwc() is similar to the function
fputwc(). It writes one character
to the current file position of the specified FILE pointer. The return value is the
character written, or WEOF if an
error occurred.
Because putwc() may be
implemented as a macro, it might evaluate its argument more than
once. Make sure the argument is not an expression with side
effects—or else use fputwc().
Read now
Unlock full access