aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/fatfs/doc/en/sdir.html
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-02 09:36:41 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-02 09:36:41 +1000
commit8a11eb71aa7e4de9b98944cac88073e71e39b7fb (patch)
tree3d629b039cc6aff4fa752fc315c56e92833c7721 /src/gfile/fatfs/doc/en/sdir.html
parentdc0f291350e8f44ceaf889c559f05342feacf6c9 (diff)
parent1a2e98af967d4433e98c5fa388cb816b1af46e2d (diff)
downloaduGFX-8a11eb71aa7e4de9b98944cac88073e71e39b7fb.tar.gz
uGFX-8a11eb71aa7e4de9b98944cac88073e71e39b7fb.tar.bz2
uGFX-8a11eb71aa7e4de9b98944cac88073e71e39b7fb.zip
Merge branch 'master' into eCos
Diffstat (limited to 'src/gfile/fatfs/doc/en/sdir.html')
-rw-r--r--src/gfile/fatfs/doc/en/sdir.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/gfile/fatfs/doc/en/sdir.html b/src/gfile/fatfs/doc/en/sdir.html
new file mode 100644
index 00000000..7eba5551
--- /dev/null
+++ b/src/gfile/fatfs/doc/en/sdir.html
@@ -0,0 +1,40 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<link rel="up" title="FatFs" href="../00index_e.html">
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/sdir.html">
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
+<title>FatFs - DIR</title>
+</head>
+
+<body>
+
+<div class="para">
+<h2>DIR</h2>
+<p>The <tt>DIR</tt> structure is used for the work area to read a directory by <tt>f_oepndir()/f_readdir()</tt> function. Application program must not modify any member in this structure.</p>
+<pre>
+<span class="k">typedef</span> <span class="k">struct</span> {
+ FATFS* fs; <span class="c">/* Pointer to the owner file system object */</span>
+ WORD id; <span class="c">/* Owner file system mount ID */</span>
+ WORD index; <span class="c">/* Index of directory entry to start to search next */</span>
+ DWORD sclust; <span class="c">/* Table start cluster (0:Root directory) */</span>
+ DWORD clust; <span class="c">/* Current cluster */</span>
+ DWORD sect; <span class="c">/* Current sector */</span>
+ BYTE* dir; <span class="c">/* Pointer to the current SFN entry in the win[] */</span>
+ BYTE* fn; <span class="c">/* Pointer to the SFN buffer (in/out) {file[8],ext[3],status[1]} */</span>
+<span class="k">#if</span> _FS_LOCK
+ UINT lockid; <span class="c">/* Sub-directory lock ID (0:Root directory) */</span>
+<span class="k">#endif</span>
+<span class="k">#if</span> _USE_LFN
+ WCHAR* lfn; <span class="c">/* Pointer to the LFN buffer (in/out) */</span>
+ WORD lfn_idx; <span class="c">/* Index of the LFN entris (0xFFFF:No LFN) */</span>
+<span class="k">#endif</span>
+} DIR;
+</pre>
+</div>
+
+<p class="foot"><a href="../00index_e.html">Return</a></p>
+</body>
+</html>