std::fputws (3) - Linux Manuals
std::fputws: std::fputws
NAME
Synopsis
Defined in header <cwchar>
int fputws( const wchar_t* str, std::FILE* stream );
Writes every wide character from the null-terminated wide string str to the output stream stream, as if by repeatedly executing std::fputwc.
The terminating null wide character from str is not written.
Parameters
str - null-terminated wide string to be written
stream - output stream
Return value
On success, returns a non-negative value
On failure, returns EOF and sets the error indicator (see std::ferror) on stream.
Example
// Run this code
Output:
See also
fputs (function)
wprintf prints formatted wide character output to stdout, a file stream or a buffer
fwprintf (function)
swprintf
fputws (function)
fgetws (function)