japanese translation updated.
[scilab.git] / scilab / modules / fileio / help / ja_JP / path_filename / tempname.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) 2011 - DIGITEO - Allan CORNET
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <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="tempname">
16     
17     <refnamediv>
18         
19         <refname>tempname</refname>
20         
21         <refpurpose>
22             
23             ユニークなファイル名を有するファイルを作成
24             
25         </refpurpose>
26         
27     </refnamediv>
28     
29     <refsynopsisdiv>
30         
31         <title>呼び出し手順</title>
32         
33         <synopsis>tmp_name = tempname([prefix])</synopsis>
34         
35     </refsynopsisdiv>
36     
37     <refsection>
38         
39         <title>引数</title>
40         
41         <variablelist>
42             
43             <varlistentry>
44                 
45                 <term>tmp_name</term>
46                 
47                 <listitem>
48                     
49                     <para>文字列</para>
50                     
51                 </listitem>
52                 
53             </varlistentry>
54             
55         </variablelist>
56         
57         <variablelist>
58             
59             <varlistentry>
60                 
61                 <term>prefix</term>
62                 
63                 <listitem>
64                     
65                     <para>文字列: ファイル名の接頭辞(Windowsでは,最大3文字).</para>
66                     
67                 </listitem>
68                 
69             </varlistentry>
70             
71         </variablelist>
72         
73     </refsection>
74     
75     <refsection>
76         
77         <title>説明</title>
78         
79         <para>
80             
81             <function>tempname</function>は,
82             
83             ユニークなファイル名を有するファイルを<literal>TMPDIR</literal> ディレクトリに作成します.
84             
85         </para>
86         
87         <para>
88             
89             <code>tmp_name = tempname()</code> は,テンポラリなファイル名として使用可能な
90             
91             ユニークな文字列, <varname>tmp_name</varname>を返します.
92             
93         </para>
94         
95     </refsection>
96     
97     <refsection>
98         
99         <title>例</title>
100         
101         <programlisting role="example"><![CDATA[
102       F1 = tempname()
103       isfile(F1)
104       F2 = tempname('TMP')
105       isfile(F2)
106  ]]></programlisting>
107         
108     </refsection>
109     
110     <refsection>
111         
112         <title>履歴</title>
113         
114         <revhistory>
115             
116             <revision>
117                 
118                 <revnumber>5.4.0</revnumber>
119                 
120                 <revremark>
121                     
122                     関数<function>tempname</function>が導入されました.
123                     
124                 </revremark>
125                 
126             </revision>
127             
128         </revhistory>
129         
130     </refsection>
131     
132 </refentry>
133