1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
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
14 <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="fscanf">
16 <refname>fscanf</refname>
17 <refpurpose>ファイルから読み込みこんだ整形済み入力を変換する</refpurpose>
21 <synopsis>[v_1,...v_n]=fscanf (file,format)</synopsis>
29 <para>フォーマット変換を指定します.</para>
35 <para>入力ファイル名またはファイル番号を指定します.</para>
43 fscanf関数は<literal>file</literal>引数で指定したファイルから
44 文字データを読み込み,フォーマットに基づき解釈し,
48 formatパラメータには入力を解釈する際に使用される変換指定子
52 formatパラメータには,空白文字(空白,タブ,改行,またはフォームフィード)
57 末尾の空白文字(改行文字を含む)は読み込まれません.
61 <para>%を除く任意の文字 (パーセンス記号),
62 入力ストリームの次の文字に一致しなければなりません.
67 変換指定子は,次の入力フィールドの変換を指示します.
68 詳細は <link linkend="scanf_conversion">scanf_conversion</link> 参照ください.
73 <refsection role="see also">
75 <simplelist type="inline">
77 <link linkend="mprintf">mprintf</link>
80 <link linkend="read">read</link>
83 <link linkend="scanf">scanf</link>
86 <link linkend="msscanf">msscanf</link>
89 <link linkend="mfscanf">mfscanf</link>
92 <link linkend="scanf_conversion">scanf_conversion</link>