OSDN Git Service

30624cc3f0c6e3d0b449478300fb65e32fabcaae
[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  1999-07-25 "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 L\(aq\\0\(aq character, to \fIstream\fP.
41 .BR fputws ()
42 ´Ø¿ô¤Ï¡¢
43 .BR fputs (3)
44 ¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
45 ¤³¤Î´Ø¿ô¤Ï¡¢\fIws\fP ¤«¤é»Ï¤Þ¤ë¥ï¥¤¥Éʸ»úÎó¤ò½ªÃ¼¤Î L'\\0' ¤Þ
46 ¤Ç \fIstream\fP ¤Ë½ñ¤­½Ð¤¹¡£¤¿¤À¤·½ªÃ¼¤Î L\(aq\\0\(aq ¤Ï½ÐÎϤ·¤Ê¤¤¡£
47 .PP
48 .\"O For nonlocking counterparts, see
49 .\"O .BR unlocked_stdio (3).
50 ¤³¤ì¤é¤Î½èÍý¤òÄä»ß¤»¤º¤Ë¹Ô¤¤¤¿¤¤¤È¤­¤Ï¡¢
51 .BR unlocked_stdio (3)
52 ¤ò»²¾È¤Î¤³¤È¡£
53 .\"O .SH "RETURN VALUE"
54 .SH ÊÖ¤êÃÍ
55 .\"O The
56 .\"O .BR fputws ()
57 .\"O function returns a
58 .\"O nonnegative integer if the operation was
59 .\"O successful, or \-1 to indicate an error.
60 .BR fputws ()
61 ¤Ï¡¢Áàºî¤¬À®¸ù¤·¤¿»þ¤Ë¤ÏÉé¤Ç¤Ê¤¤À°¿ôÃͤòÊÖ¤¹¡£¥¨¥é¡¼¤Î»þ
62 ¤Ë¤Ï \-1 ¤òÊÖ¤¹¡£
63 .\"O .SH "CONFORMING TO"
64 .SH ½àµò
65 C99, POSIX.1-2001.
66 .\"O .SH NOTES
67 .SH Ãí°Õ
68 .\"O The behavior of
69 .\"O .BR fputws ()
70 .\"O depends on the
71 .\"O .B LC_CTYPE
72 .\"O category of the
73 .\"O current locale.
74 .BR fputws ()
75 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
76 .B LC_CTYPE
77 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¡£
78 .PP
79 .\"O In the absence of additional information passed to the
80 .\"O .BR fopen (3)
81 .\"O call, it is
82 .\"O reasonable to expect that
83 .\"O .BR fputws ()
84 .\"O will actually write the multibyte
85 .\"O string corresponding to the wide-character string \fIws\fP.
86 .BR fopen (3)
87 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤ËÅϤ¹ÄɲþðÊ󤬤ʤ¤¾ì¹ç¤Ë¤Ï¡¢
88 .BR fputws ()
89 ¤¬¼ÂºÝ
90 ¤Ë¤Ï¥ï¥¤¥Éʸ»ú¤Îʸ»úÎó¤Ç¤¢¤ë \fIws\fP ¤ËÂбþ¤¹¤ë¥Þ¥ë¥Á¥Ð¥¤¥È¥·¡¼¥±¥ó¥¹
91 ¤ò½ñ¤­¹þ¤à¤È´üÂÔ¤¹¤ë¤³¤È¤ÏŬÀڤǤ¢¤ë¡£
92 .\"O .SH "SEE ALSO"
93 .SH ´ØÏ¢¹àÌÜ
94 .BR fputwc (3),
95 .BR unlocked_stdio (3)