VMS Help
CRTL, fputws
*Conan The Librarian
|
Writes a wide-character string to a file without copying the
null-terminating character.
Format
#include <wchar.h>
int fputws (const wchar_t *wstr, FILE *file_ptr);
wstr
A pointer to a wide-character string.
file_ptr
A file pointer.
The fputws function converts the specified wide-character string
to a multibyte character string and writes it to the specified
file. The function does not append a terminating null byte
corresponding to the null wide-character to the output string.
Nonnegative value Indicates success.
-1 Indicates an error. The function sets errno.
For a list of the values, see fputwc.