7.24.3.4 The fputws function

Synopsis

1

#include <stdio.h>
#include <wchar.h>
int fputws(const wchar_t * restrict s,
     FILE * restrict stream);

Description

2

The fputws function writes the wide string pointed to by s to the stream pointed to by stream. The terminating null wide character is not written.

Returns

3

The fputws function returns EOF if a write or encoding error occurs; otherwise, it returns a nonnegative value.