1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
16 .TH FPUTWS 3 2021-03-22 "GNU" "Linux Programmer's Manual"
18 fputws \- write a wide-character string to a FILE stream
23 .BI "int fputws(const wchar_t *restrict " ws ", FILE *restrict " stream );
28 function is the wide-character equivalent of
32 It writes the wide-character string starting at \fIws\fP, up to but
33 not including the terminating null wide character (L\(aq\e0\(aq), to \fIstream\fP.
35 For a nonlocking counterpart, see
36 .BR unlocked_stdio (3).
41 nonnegative integer if the operation was
42 successful, or \-1 to indicate an error.
44 For an explanation of the terms used in this section, see
52 Interface Attribute Value
55 T} Thread safety MT-Safe
61 POSIX.1-2001, POSIX.1-2008, C99.
70 In the absence of additional information passed to the
73 reasonable to expect that
75 will actually write the multibyte
76 string corresponding to the wide-character string \fIws\fP.
79 .BR unlocked_stdio (3)