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 .\"*******************************************************************
18 .\" This file was generated with po4a. Translate the source file.
20 .\"*******************************************************************
22 .\" Translated Sun Aug 29 15:09:40 JST 1999
23 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
24 .\" Updated Fri Nov 2 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
26 .TH FPUTWS 3 2019\-03\-06 GNU "Linux Programmer's Manual"
28 fputws \- ワイド文字の文字列を FILE ストリームに書き込む
31 \fB#include <wchar.h>\fP
33 \fBint fputws(const wchar_t *\fP\fIws\fP\fB, FILE *\fP\fIstream\fP\fB);\fP
36 \fBfputws\fP() 関数は、 \fBfputs\fP(3) に対応するワイド文字関数である。 この関数は、\fIws\fP から始まるワイド文字列を終端の
37 L'\e0' まで \fIstream\fP に書き出す。ただし終端のヌルワイド文字 (L\(aq\e0\(aq) は含まれない。
39 これらの処理を停止せずに行いたいときは、 \fBunlocked_stdio\fP(3) を参照のこと。
41 \fBfputws\fP() は、操作が成功した時には負でない整数値を返す。エラーの時 には \-1 を返す。
43 この節で使用されている用語の説明については、 \fBattributes\fP(7) を参照。
51 T} Thread safety MT\-Safe
55 POSIX.1\-2001, POSIX.1\-2008, C99.
57 \fBfputws\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリーに依存する。
59 \fBfopen\fP(3) システムコールに渡す追加情報がない場合には、 \fBfputws\fP() が実際 にはワイド文字の文字列である \fIws\fP
60 に対応するマルチバイトシーケンス を書き込むと期待することは適切である。
62 \fBfputwc\fP(3), \fBunlocked_stdio\fP(3)
64 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報告に関する情報は
65 \%https://www.kernel.org/doc/man\-pages/ に書かれている。