Lines Matching full:file

2 /  FatFs - Generic FAT file system module  R0.12b                             /
33 #error Wrong configuration file (ffconf.h).
78 /* Type of file size variables */
91 /* File system object structure (FATFS) */
94 BYTE fs_type; /* File system type (0:N/A) */
99 WORD id; /* File system mount ID */
133 BYTE win[_MAX_SS]; /* Disk access window for Directory, FAT (and file data at tiny cfg) */
141 FATFS* fs; /* Pointer to the owner file system object */
142 WORD id; /* Owner file system mount ID */
154 UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */
160 /* File object structure (FIL) */
164 BYTE flag; /* File status flags */
166 FSIZE_t fptr; /* File read/write pointer (Zeroed on file open) */
177 BYTE buf[_MAX_SS]; /* File private data read/write window */
202 /* File information structure (FILINFO) */
205 FSIZE_t fsize; /* File size */
208 BYTE fattrib; /* File attribute */
210 TCHAR altname[13]; /* Altenative file name */
211 TCHAR fname[_MAX_LFN + 1]; /* Primary file name */
213 TCHAR fname[13]; /* File name */
219 /* File function return code (FRESULT) */
226 FR_NO_FILE, /* (4) Could not find the file */
231 FR_INVALID_OBJECT, /* (9) The file/directory object is invalid */
238 FR_LOCKED, /* (16) The operation is rejected according to the file sharing policy */
249 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */
250 FRESULT f_close (FIL* fp); /* Close an open file object */
251 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */
252 FRESULT f_write (FIL* fp, const void* buff, UINT btw, UINT* bw); /* Write data to the file */
253 FRESULT f_lseek (FIL* fp, FSIZE_t ofs); /* Move file pointer of the file object */
254 FRESULT f_truncate (FIL* fp); /* Truncate the file */
255 FRESULT f_sync (FIL* fp); /* Flush cached data of the writing file */
260 …f_findfirst (DIR* dp, FILINFO* fno, const TCHAR* path, const TCHAR* pattern); /* Find first file */
261 FRESULT f_findnext (DIR* dp, FILINFO* fno); /* Find next file */
263 FRESULT f_unlink (const TCHAR* path); /* Delete an existing file or directory */
264 FRESULT f_rename (const TCHAR* path_old, const TCHAR* path_new); /* Rename/Move a file or directory…
265 FRESULT f_stat (const TCHAR* path, FILINFO* fno); /* Get file status */
266 FRESULT f_chmod (const TCHAR* path, BYTE attr, BYTE mask); /* Change attribute of a file/dir */
267 FRESULT f_utime (const TCHAR* path, const FILINFO* fno); /* Change timestamp of a file/dir */
275 FRESULT f_expand (FIL* fp, FSIZE_t szf, BYTE opt); /* Allocate a contiguous block to the file */
279 int f_putc (TCHAR c, FIL* fp); /* Put a character to the file */
280 int f_puts (const TCHAR* str, FIL* cp); /* Put a string to the file */
281 int f_printf (FIL* fp, const TCHAR* str, ...); /* Put a formatted string to the file */
282 TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the file */
331 /* File access mode and open method flags (3rd argument of f_open) */
356 /* File attribute bits for directory entry (FILINFO.fattrib) */