Wide character output functions convert wide characters to multibyte
characters and write the result to the stream. The conversion process
is performed in the same way that the wcrtomb() function performs
conversions.
The following
z/OS® XL C functions support wide character output:
- fputwc()
- fputwc_unlocked()
- fputws()
- fputws_unlocked()
- fwprintf()
- fwprintf_unlocked()
- putwc()
- putwc_unlocked()
- putwchar()
- putwchar_unlocked()
- vfwprintf()
- vfwprintf_unlocked()
- vwprintf()
- vwprintf_unlocked()
- wprintf()
- wprintf_unlocked()
In addition, the following byte-oriented functions support handling
multibyte characters by providing conversion specifiers to handle
the
wchar_t data type:
- fprintf()
- fprintf_unlocked()
- printf()
- printf_unlocked()
- vfprintf()
- vfprintf_unlocked()
- vprintf()
- vprintf_unlocked()
All other output functions do not support the wchar_t data
type. However, all of the output functions support multibyte character
output for text streams if MB_CUR_MAX is 4.
For a detailed description of unformatted and formatted I/O functions,
see z/OS XL C/C++ Runtime Library Reference.