2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH fputws 3 (date) "Linux man-pages (unreleased)"
14 fputws \- write a wide-character string to a FILE stream
17 .RI ( libc ", " \-lc )
22 .BI "int fputws(const wchar_t *restrict " ws ", FILE *restrict " stream );
27 function is the wide-character equivalent of
31 It writes the wide-character string starting at \fIws\fP,
32 up to but not including the terminating null wide character (L\[aq]\e0\[aq]),
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
50 Interface Attribute Value
55 T} Thread safety MT-Safe
69 In the absence of additional information passed to the
72 reasonable to expect that
74 will actually write the multibyte
75 string corresponding to the wide-character string \fIws\fP.
78 .BR unlocked_stdio (3)