mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-09 20:46:07 +01:00
92 lines
2.5 KiB
HTML
92 lines
2.5 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|||
|
<html lang="ja">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
|||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|||
|
<link rel="up" title="FatFs" href="../00index_j.html">
|
|||
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|||
|
<title>FatFs - f_chdir</title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h2>f_chdir</h2>
|
|||
|
<p><EFBFBD>J<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ύX<EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B</p>
|
|||
|
<pre>
|
|||
|
FRESULT f_chdir (
|
|||
|
const XCHAR* <em>Path</em> /* <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^ */
|
|||
|
);
|
|||
|
</pre>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<dl class="par">
|
|||
|
<dt>Path</dt>
|
|||
|
<dd><EFBFBD>ړ<EFBFBD><EFBFBD>Ώۂ̃f<EFBFBD>B<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="filename.html"><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD></a><EFBFBD>̓<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><tt>'\0'</tt><EFBFBD>ŏI<EFBFBD><EFBFBD><EFBFBD>镶<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><EFBFBD>B</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h4><EFBFBD>߂<EFBFBD><EFBFBD>l</h4>
|
|||
|
<dl class="ret">
|
|||
|
<dt>FR_OK (0)</dt>
|
|||
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>FR_NO_FILE</dt>
|
|||
|
<dd><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C282><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882>B</dd>
|
|||
|
<dt>FR_NO_PATH</dt>
|
|||
|
<dd><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>FR_INVALID_NAME</dt>
|
|||
|
<dd><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>FR_INVALID_DRIVE</dt>
|
|||
|
<dd><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD>ԍ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>FR_NOT_READY</dt>
|
|||
|
<dd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BFBD>G<EFBFBD><47><EFBFBD>A<EFBFBD><41><EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882>B</dd>
|
|||
|
<dt>FR_NO_FILESYSTEM</dt>
|
|||
|
<dd><EFBFBD>f<EFBFBD>B<EFBFBD>X<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>ɗL<EFBFBD><EFBFBD><EFBFBD><EFBFBD>FAT<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C282><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882>B</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p>f_chdir<EFBFBD><EFBFBD><EFBFBD>͊e<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>̃J<CC83><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>̓t<CD83>@<40>C<EFBFBD><43><EFBFBD>E<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>E<EFBFBD>I<EFBFBD>u<EFBFBD>W<EFBFBD>F<EFBFBD>N<EFBFBD>g<EFBFBD>̏<EFBFBD><CC8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>ꂽ<EFBFBD>Ƃ<EFBFBD><C682>A<EFBFBD><41><EFBFBD>[<5B>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɐݒ肳<DD92><E882B3><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>́A<CD81>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>E<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>E<EFBFBD>I<EFBFBD>u<EFBFBD>W<EFBFBD>F<EFBFBD>N<EFBFBD>g<EFBFBD>ɋL<C98B>^<5E><><EFBFBD><EFBFBD><EFBFBD>邽<EFBFBD>߁A<DF81><41><EFBFBD>̃{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>Ẵ^<5E>X<EFBFBD>N<EFBFBD>ɑ<C991><CE82>ĉe<C489><65><EFBFBD><EFBFBD><EFBFBD>^<5E><><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt>_FS_RPATH == 1</tt><EFBFBD>̂Ƃ<EFBFBD><EFBFBD>Ɏg<EFBFBD>p<EFBFBD>\<5C>ƂȂ<C682><C882>܂<EFBFBD><DC82>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h4><EFBFBD>T<EFBFBD><EFBFBD><EFBFBD>v<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>[<5B>h</h4>
|
|||
|
<pre>
|
|||
|
// <20>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̃J<CC83><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ύX (<28><><EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD>dir1<72><31>)
|
|||
|
f_chdir("/dir1");
|
|||
|
|
|||
|
// <20>h<EFBFBD><68><EFBFBD>C<EFBFBD>u2<75>̃J<CC83><4A><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ύX (<28>e<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD>)
|
|||
|
f_chdir("2:..");
|
|||
|
</pre>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt><a href="chdrive.html">f_chdrive</a></tt></p>
|
|||
|
</div>
|
|||
|
|
|||
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|||
|
</body>
|
|||
|
</html>
|