VMS Help
CRTL, putwc
*Conan The Librarian
|
Converts a wide character to its corresponding multibyte value,
and writes the result to a specified file.
Format
#include <wchar.h>
wint_t putwc (wint_t wc, FILE *file_ptr);
wc
An object of type wint_t.
file_ptr
A file pointer.
Since putwc might be implemented as a macro, a file pointer
argument with side effects (for example putwc (wc, *f++)) might
be evaluated incorrectly. In such a case, use the fputwc function
instead.
See also fputwc.
x The character written to the file. Indicates
success.
WEOF Indicates an output error. The function sets
errno. For a list of the errno values set by
this function, see fputwc.