OSDN Git Service

47ba1704a151934f54c455fdb511abf7dc1e2f89
[linuxjm/LDP_man-pages.git] / draft / man3 / fputws.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sun Aug 29 15:09:40 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\" Updated Fri Nov  2 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
18 .\"
19 .TH FPUTWS 3  2011-09-28 "GNU" "Linux Programmer's Manual"
20 .\"O .SH NAME
21 .SH 名前
22 .\"O fputws \- write a wide-character string to a FILE stream
23 fputws \- ワイド文字の文字列を FILE ストリームに書き込む
24 .\"O .SH SYNOPSIS
25 .SH 書式
26 .nf
27 .B #include <wchar.h>
28 .sp
29 .BI "int fputws(const wchar_t *" ws ", FILE *" stream );
30 .fi
31 .\"O .SH DESCRIPTION
32 .SH 説明
33 .\"O The
34 .\"O .BR fputws ()
35 .\"O function is the wide-character equivalent of
36 .\"O the
37 .\"O .BR fputs (3)
38 .\"O function.
39 .\"O It writes the wide character string starting at \fIws\fP, up to but
40 .\"O not including the terminating null wide character (L\(aq\\0\(aq), to \fIstream\fP.
41 .BR fputws ()
42 関数は、
43 .BR fputs (3)
44 に対応するワイド文字関数である。
45 この関数は、\fIws\fP から始まるワイド文字列を終端の L'\\0'
46 まで \fIstream\fP に書き出す。ただし終端の NULL ワイド文字
47 (L\(aq\\0\(aq) は含まれない。
48 .PP
49 .\"O For nonlocking counterparts, see
50 .\"O .BR unlocked_stdio (3).
51 これらの処理を停止せずに行いたいときは、
52 .BR unlocked_stdio (3)
53 を参照のこと。
54 .\"O .SH "RETURN VALUE"
55 .SH 返り値
56 .\"O The
57 .\"O .BR fputws ()
58 .\"O function returns a
59 .\"O nonnegative integer if the operation was
60 .\"O successful, or \-1 to indicate an error.
61 .BR fputws ()
62 は、操作が成功した時には負でない整数値を返す。エラーの時
63 には \-1 を返す。
64 .\"O .SH "CONFORMING TO"
65 .SH 準拠
66 C99, POSIX.1-2001.
67 .\"O .SH NOTES
68 .SH 注意
69 .\"O The behavior of
70 .\"O .BR fputws ()
71 .\"O depends on the
72 .\"O .B LC_CTYPE
73 .\"O category of the
74 .\"O current locale.
75 .BR fputws ()
76 の動作は、現在のロケールの
77 .B LC_CTYPE
78 カテゴリに依存する。
79 .PP
80 .\"O In the absence of additional information passed to the
81 .\"O .BR fopen (3)
82 .\"O call, it is
83 .\"O reasonable to expect that
84 .\"O .BR fputws ()
85 .\"O will actually write the multibyte
86 .\"O string corresponding to the wide-character string \fIws\fP.
87 .BR fopen (3)
88 システムコールに渡す追加情報がない場合には、
89 .BR fputws ()
90 が実際
91 にはワイド文字の文字列である \fIws\fP に対応するマルチバイトシーケンス
92 を書き込むと期待することは適切である。
93 .\"O .SH "SEE ALSO"
94 .SH 関連項目
95 .BR fputwc (3),
96 .BR unlocked_stdio (3)