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(3)
15       function.  It writes the wide-character string starting at  ws,  up  to
16       but  not  including  the  terminating  null  wide character (L'\0'), to
17       stream.
18
19       For a nonlocking counterpart, see unlocked_stdio(3).
20

RETURN VALUE

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

CONFORMING TO

26       C99, POSIX.1-2001.
27

NOTES

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

SEE ALSO

37       fputwc(3), unlocked_stdio(3)
38

COLOPHON

40       This page is part of release 3.53 of the Linux  man-pages  project.   A
41       description  of  the project, and information about reporting bugs, can
42       be found at http://www.kernel.org/doc/man-pages/.
43
44
45
46GNU                               2011-09-28                         FPUTWS(3)
Impressum