1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
.\" 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.
.\" %%%LICENSE_END
.\"
.\" 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.
.\"
.\"*******************************************************************
.\"
.\" Translated Sun Aug 29 15:09:40 JST 1999
.\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\" Updated Fri Nov 2 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
.\"
.TH FPUTWS 3 2011\-09\-28 GNU "Linux Programmer's Manual"
.SH 名前
fputws \- ワイド文字の文字列を FILE ストリームに書き込む
.SH 書式
.nf
\fB#include <wchar.h>\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 に書き出す。ただし終端のヌルワイド文字 (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.79 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。
|