.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH FPUTWS 3 2011-09-28 "GNU" "Linux Programmer's Manual"
+.TH FPUTWS 3 2019-03-06 "GNU" "Linux Programmer's Manual"
.SH NAME
fputws \- write a wide-character string to a FILE stream
.SH SYNOPSIS
.nf
.B #include <wchar.h>
-.sp
+.PP
.BI "int fputws(const wchar_t *" ws ", FILE *" stream );
.fi
.SH DESCRIPTION
.BR fputs (3)
function.
It writes the wide-character string starting at \fIws\fP, up to but
-not including the terminating null wide character (L\(aq\\0\(aq), to \fIstream\fP.
+not including the terminating null wide character (L\(aq\e0\(aq), to \fIstream\fP.
.PP
For a nonlocking counterpart, see
.BR unlocked_stdio (3).
function returns a
nonnegative integer if the operation was
successful, or \-1 to indicate an error.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR fputws ()
+T} Thread safety MT-Safe
+.TE
+.sp 1
.SH CONFORMING TO
-C99, POSIX.1-2001.
+POSIX.1-2001, POSIX.1-2008, C99.
.SH NOTES
The behavior of
.BR fputws ()