]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/documents/doc/sdir.html
Merge branch 'chan-fatfs' into fatfs-integration
[z180-stamp.git] / fatfs / documents / doc / sdir.html
similarity index 80%
rename from fatfs/doc/en/sdir.html
rename to fatfs/documents/doc/sdir.html
index a01a71660d2a2ba4ea81b072d39444fa2bc11bbf..53a460d0909465d58cd5aa71cddc5c73114dd164 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
 <html lang="en">\r
 <head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
 <meta http-equiv="Content-Style-Type" content="text/css">\r
 <link rel="up" title="FatFs" href="../00index_e.html">\r
 <link rel="alternate" hreflang="ja" title="Japanese" href="../ja/sdir.html">\r
 \r
 <div class="para">\r
 <h2>DIR</h2>\r
-<p>The <tt>DIR</tt> structure is used for the work area to read a directory by <tt>f_oepndir</tt>, <tt>f_readdir</tt>, <tt>f_findfirst</tt> and <tt>f_findnext</tt> function. Application program must not modify any member in this structure, or any data on the FAT volume can be collapsed.</p>\r
+<p>The <tt>DIR</tt> structure is used for the work area to read a directory by <tt>f_oepndir</tt>, <tt>f_readdir</tt>, <tt>f_findfirst</tt> and <tt>f_findnext</tt> function. Application program <em>must not</em> modify any member in this structure, or <tt>f_readdir</tt> function will not work properly.</p>\r
 <pre>\r
 <span class="k">typedef</span> <span class="k">struct</span> {\r
-    _FDID   obj;        <span class="c">/* Owner file sytem object and object identifier */</span>\r
+    FFOBJID obj;        <span class="c">/* Object identifier */</span>\r
     DWORD   dptr;       <span class="c">/* Current read/write offset */</span>\r
     DWORD   clust;      <span class="c">/* Current cluster */</span>\r
     DWORD   sect;       <span class="c">/* Current sector */</span>\r
     BYTE*   dir;        <span class="c">/* Pointer to the current SFN entry in the win[] */</span>\r
     BYTE*   fn;         <span class="c">/* Pointer to the SFN buffer (in/out) {file[8],ext[3],status[1]} */</span>\r
-<span class="k">#if</span> _USE_LFN\r
+<span class="k">#if</span> FF_USE_LFN\r
     DWORD   blk_ofs;    <span class="c">/* Offset of the entry block (0xFFFFFFFF:Invalid) */</span>\r
     WCHAR*  lfn;        <span class="c">/* Pointer to the LFN working buffer (in/out) */</span>\r
 <span class="k">#endif</span>\r
-<span class="k">#if</span> _USE_FIND\r
+<span class="k">#if</span> FF_USE_FIND\r
     const TCHAR*  pat;  <span class="c">/* Ponter to the matching pattern */</span>\r
 <span class="k">#endif</span>\r
 } DIR;\r