[ast] upgrade sparse extraction after 5dc990d1
[scilab.git] / scilab / modules / fileio / help / ja_JP / mputstr.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2008 - INRIA
6  * ...
7  *
8  * Copyright (C) 2012 - 2016 - Scilab Enterprises
9  *
10  * This file is hereby licensed under the terms of the GNU GPL v2.0,
11  * pursuant to article 5.3.4 of the CeCILL v.2.1.
12  * This file was originally licensed under the terms of the CeCILL v2.1,
13  * and continues to be available under such terms.
14  * For more information, see the COPYING file which you should have received
15  * along with this program.
16  *
17  -->
18
19 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="mputstr">
20
21     <refnamediv>
22
23         <refname>mputstr</refname>
24
25         <refpurpose>ファイルに文字列を書き込む</refpurpose>
26
27     </refnamediv>
28
29     <refsynopsisdiv>
30
31         <title>呼び出し手順</title>
32
33         <synopsis>mputstr(str [, fd]);</synopsis>
34
35     </refsynopsisdiv>
36
37     <refsection>
38
39         <title>引数</title>
40
41         <variablelist>
42
43             <varlistentry>
44
45                 <term>fd</term>
46
47                 <listitem>
48
49                     <para>
50
51                         スカラー:  <function>mopen</function>関数により返されたファイル記述子.
52
53                         <literal>-1</literal>は直近にオープンされたファイルを意味します.
54
55                         デフォルト値は<literal>-1</literal>です.
56
57                     </para>
58
59                 </listitem>
60
61             </varlistentry>
62
63             <varlistentry>
64
65                 <term>str</term>
66
67                 <listitem>
68
69                     <para>文字列.</para>
70
71                 </listitem>
72
73             </varlistentry>
74
75         </variablelist>
76
77     </refsection>
78
79     <refsection>
80
81         <title>説明</title>
82
83         <para>
84
85             <function>mputstr</function> 関数により文字列<varname>str</varname>を
86
87             バイナリファイルに書き込むことが可能です.
88
89         </para>
90
91     </refsection>
92
93     <refsection>
94
95         <title>例</title>
96
97         <programlisting role="example"><![CDATA[
98
99 this_file = pathconvert(TMPDIR+"/mputstr.txt", %F);
100
101 fd = mopen(this_file, "wt");
102 mputstr("Scilab", fd);
103 mclose(fd);
104
105 mgetl(this_file) // Scilab
106
107  ]]></programlisting>
108
109     </refsection>
110
111     <refsection role="see also">
112
113         <title>参照</title>
114
115         <simplelist type="inline">
116
117             <member>
118
119                 <link linkend="mclose">mclose</link>
120
121             </member>
122
123             <member>
124
125                 <link linkend="meof">meof</link>
126
127             </member>
128
129             <member>
130
131                 <link linkend="mfprintf">mfprintf</link>
132
133             </member>
134
135             <member>
136
137                 <link linkend="fprintfMat">fprintfMat</link>
138
139             </member>
140
141             <member>
142
143                 <link linkend="mfscanf">mfscanf</link>
144
145             </member>
146
147             <member>
148
149                 <link linkend="fscanfMat">fscanfMat</link>
150
151             </member>
152
153             <member>
154
155                 <link linkend="mget">mget</link>
156
157             </member>
158
159             <member>
160
161                 <link linkend="mgetstr">mgetstr</link>
162
163             </member>
164
165             <member>
166
167                 <link linkend="mopen">mopen</link>
168
169             </member>
170
171             <member>
172
173                 <link linkend="mprintf">mprintf</link>
174
175             </member>
176
177             <member>
178
179                 <link linkend="mput">mput</link>
180
181             </member>
182
183             <member>
184
185                 <link linkend="mputstr">mputstr</link>
186
187             </member>
188
189             <member>
190
191                 <link linkend="mscanf">mscanf</link>
192
193             </member>
194
195             <member>
196
197                 <link linkend="mseek">mseek</link>
198
199             </member>
200
201             <member>
202
203                 <link linkend="mtell">mtell</link>
204
205             </member>
206
207             <member>
208
209                 <link linkend="mdelete">mdelete</link>
210
211             </member>
212
213         </simplelist>
214
215     </refsection>
216
217 </refentry>
218