Writing streams and files

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:
In addition, the following byte-oriented functions support handling multibyte characters by providing conversion specifiers to handle the wchar_t data type:

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.