Searched refs:fp (Results 1 – 2 of 2) sorted by relevance
/fatfs-2.7.6/ |
D | ff.c | 234 #define ABORT(fs, res) { fp->err = (BYTE)(res); LEAVE_FF(fs, res); } 1598 FIL* fp, /* Pointer to the file object */ in clmt_clust() argument 1603 FATFS *fs = fp->obj.fs; in clmt_clust() 1606 tbl = fp->cltbl + 1; /* Top of CLMT */ in clmt_clust() 3654 FIL* fp, /* Pointer to the blank file object */ argument 3670 if (!fp) return FR_INVALID_OBJECT; 3713 fp->obj.fs = fs; 3714 init_alloc_info(fs, &fp->obj); 3722 if (res == FR_OK && fp->obj.sclust != 0) { /* Remove the cluster chain if exist */ 3723 res = remove_chain(&fp->obj, fp->obj.sclust, 0); [all …]
|
/fatfs-2.7.6/include/ |
D | ff.h | 305 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */ 306 FRESULT f_close (FIL* fp); /* Close an open file object */ 307 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */ 308 FRESULT f_write (FIL* fp, const void* buff, UINT btw, UINT* bw); /* Write data to the file */ 309 FRESULT f_lseek (FIL* fp, FSIZE_t ofs); /* Move file pointer of the file object */ 310 FRESULT f_truncate (FIL* fp); /* Truncate the file */ 311 FRESULT f_sync (FIL* fp); /* Flush cached data of the writing file */ 329 FRESULT f_forward (FIL* fp, UINT(*func)(const BYTE*,UINT), UINT btf, UINT* bf); /* Forward data to … 330 FRESULT f_expand (FIL* fp, FSIZE_t fsz, BYTE opt); /* Allocate a contiguous block to the file */ 335 int f_putc (TCHAR c, FIL* fp); /* Put a character to the file */ [all …]
|