<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008 - INRIA - Serge STEER
 * ...
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 -->
<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="isdir">
    <refnamediv>
        <refname>isdir</refname>
        <refpurpose>引数がディレクトリパスかどうかを調べる</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>呼び出し手順</title>
        <synopsis>r=isdir(path)</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>パラメータ</title>
        <variablelist>
            <varlistentry>
                <term>path</term>
                <listitem>
                    <para>文字列または文字列の行列, ファイルのパス名</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>r</term>
                <listitem>
                    <para>
                        論理値, <literal>path</literal> がディレクトリへのパスの場合に真.
                    </para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>説明</title>
        <para>
            <literal>r=isdir(path)</literal> は, <literal>path</literal> がディレクトリへのパスかどうかを調べます.
        </para>
    </refsection>
    <refsection role="see also">
        <title>参照</title>
        <para>
            この関数はC関数 stat に基づいています. <literal>SCI</literal> および
            Scilabディレクトリに関するショートカット<literal>~</literal>
            およびホームディレクトリが処理されます.
        </para>
    </refsection>
    <refsection>
        <title>例</title>
        <programlisting role="example"><![CDATA[
isdir(TMPDIR)
isdir SCI/etc/scilab.start
 ]]></programlisting>
    </refsection>
    <refsection role="see also">
        <title>参照</title>
        <simplelist type="inline">
            <member>
                <link linkend="fileinfo">fileinfo</link>
            </member>
        </simplelist>
    </refsection>

    <refsection role="history">
        <title>履歴</title>
        <revhistory>
            <revision>
                <revnumber>6.0.2</revnumber>
                <revdescription>
                  isdir("w:") and isdir("w:\") and isdir("w:/") now return %F when the drive W:
                  does not exist.
                </revdescription>
            </revision>
        </revhistory>
    </refsection>
</refentry>
