1FPUTWS(3)                  Linux Programmer's Manual                 FPUTWS(3)
2
3
4

NAME

6       fputws - write a wide character string to a FILE stream
7

SYNOPSIS

9       #include <wchar.h>
10
11       int fputws(const wchar_t *ws, FILE *stream);
12

DESCRIPTION

14       The  fputws()  function is the wide-character equivalent of the fputs()
15       function. It writes the wide character string starting at ws, up to but
16       not including the terminating L'\0' character, to stream.
17
18       For a non-locking counterpart, see unlocked_stdio(3).
19

RETURN VALUE

21       The  fputws()  function  returns a nonnegative integer if the operation
22       was successful, or -1 to indicate an error.
23

CONFORMING TO

25       C99, POSIX.1-2001.
26

NOTES

28       The behaviour of fputws() depends on the LC_CTYPE category of the  cur‐
29       rent locale.
30
31       In the absence of additional information passed to the fopen() call, it
32       is reasonable to expect that fputws() will actually write the multibyte
33       string corresponding to the wide character string ws.
34

SEE ALSO

36       fputwc(3), unlocked_stdio(3)
37
38
39
40GNU                               1999-07-25                         FPUTWS(3)
Impressum