.\" Copyright (c) Bruno Haible .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" References consulted: .\" GNU glibc-2 source code and manual .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" ISO/IEC 9899:1999 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH FPUTWS 3 2011\-09\-28 GNU "Linux Programmer's Manual" .SH 名前 fputws \- ワイド文字の文字列を FILE ストリームに書き込む .SH 書式 .nf \fB#include \fP .sp \fBint fputws(const wchar_t *\fP\fIws\fP\fB, FILE *\fP\fIstream\fP\fB);\fP .fi .SH 説明 \fBfputws\fP() 関数は、 \fBfputs\fP(3) に対応するワイド文字関数である。 この関数は、\fIws\fP から始まるワイド文字列を終端の L'\e0' まで \fIstream\fP に書き出す。ただし終端の NULL ワイド文字 (L\(aq\e0\(aq) は含まれない。 .PP これらの処理を停止せずに行いたいときは、 \fBunlocked_stdio\fP(3) を参照のこと。 .SH 返り値 \fBfputws\fP() は、操作が成功した時には負でない整数値を返す。エラーの時 には \-1 を返す。 .SH 準拠 C99, POSIX.1\-2001. .SH 注意 \fBfputws\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。 .PP \fBfopen\fP(3) システムコールに渡す追加情報がない場合には、 \fBfputws\fP() が実際 にはワイド文字の文字列である \fIws\fP に対応するマルチバイトシーケンス を書き込むと期待することは適切である。 .SH 関連項目 \fBfputwc\fP(3), \fBunlocked_stdio\fP(3) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。