fputws

Defined in header <wchar.h>
int fputws( const wchar_t *str, FILE *stream );
(since C95)

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

Parameters

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

Return value

non-negative integer on success, WEOF on failure.

References

  • C11 standard (ISO/IEC 9899:2011):
    • 7.29.3.4 The fputws function (p: 423)
  • C99 standard (ISO/IEC 9899:1999):
    • 7.24.3.4 The fputws function (p: 368)

See also

writes a character string to a file stream
(function)
prints formatted wide character output to stdout, a file stream or a buffer
(function)
fputws
(C95)
writes a wide string to a file stream
(function)
(C95)
gets a wide string from a file stream
(function)
C++ documentation for fputws
doc_C_Language
2016-10-10 18:35:19
Comments
Leave a Comment

Please login to continue.