![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/4/44/44414c02-d064-4424-ae12-8acc58561d02/44414c02-d064-4424-ae12-8acc58561d02-bg8a.png)
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 138
A.2.7 Type 7: file
Function Description
GetFileNo
Get total number of files stored in Flash
Memory.
GetFileName
Use file index to get file name.
GetFilePositionByNo
Use file number to get file position.
GetFileInfoByNo
Use file number to get file information.
GetFileInfoByName
Use file name to get file information.
…………more…………
There are more user function for file,
please refer to Appendix C iVIEW.h
and
CD\Napdos\7188\miniOS7\manual\ind
ex.html for more information.
Note: The file system for MiniOS7 support user's program to read files, but not support user's program
to write files.
GetFileNo()
Func.: Get total number of files stored in Flash Memory.
Syntax:
int GetFileNo(void);
Header: #include ”iVIEW.h”
Description:
Return The file number.
Example: Please refer to “GetFilePositionByNo ()” for deatil information.
GetFileName()
Func.: Use file index to get file name.
Syntax:
int GetFileName(int no,char *fname);
Header: #include ”iVIEW.h”
Description:
no: The file index (The first file is index 0).
fname: Buffer to store file name.
On success return NoError, and store the filename to fname.
On fail return -1, and do not save any data to fname.
Example: Please refer to “GetFilePositionByNo ()” for deatil information.