std::fputws

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cwchar>

int fputws( const wchar_t *str, FILE *stream );

Writes given null-terminated wide character string to the given output stream.

[edit] Parameters

str - null-terminated wide character string to be written
stream - output stream

[edit] Return value

non-negative integer on success, WEOF on failure

[edit] See also

fputs
writes a character string to a file stream
(function)
wprintf
fwprintf
swprintf
prints formatted wide character output to stdout, a file stream or a buffer
(function)
fputws
writes a wide character string to a file stream
(function)
fgetws
gets a wide character string from a file stream
(function)