Searched refs:FRESULT (Results 1 – 2 of 2) sorted by relevance
/fatfs-2.7.6/include/ |
D | ff.h | 298 } FRESULT; typedef 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 */ 312 FRESULT f_opendir (DIR* dp, const TCHAR* path); /* Open a directory */ 313 FRESULT f_closedir (DIR* dp); /* Close an open directory */ [all …]
|
/fatfs-2.7.6/ |
D | ff.c | 900 FRESULT res /* Result code to be returned */ in unlock_fs() 917 static FRESULT chk_lock ( /* Check if the file can be accessed */ in chk_lock() 984 static FRESULT dec_lock ( /* Decrement object open counter */ in dec_lock() 989 FRESULT res; in dec_lock() 1025 static FRESULT sync_window ( /* Returns FR_OK or FR_DISK_ERR */ in sync_window() 1029 FRESULT res = FR_OK; in sync_window() 1047 static FRESULT move_window ( /* Returns FR_OK or FR_DISK_ERR */ in move_window() 1052 FRESULT res = FR_OK; in move_window() 1078 static FRESULT sync_fs ( /* Returns FR_OK or FR_DISK_ERR */ in sync_fs() 1082 FRESULT res; in sync_fs() [all …]
|