< cpp‎ | io‎ | c
Defined in header <cwchar>
int fputws( const wchar_t* str, std::FILE* stream );

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

[edit] Parameters

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

[edit] Return value

Non-negative integer on success, WEOF on failure

[edit] See also

writes a character string to a file stream
prints formatted wide character output to stdout, a file stream or a buffer
writes a wide string to a file stream
gets a wide string from a file stream
C documentation for fputws