Changes between Version 21 and Version 22 of file_system
- Timestamp:
- Jul 18, 2015, 2:48:21 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
file_system
v21 v22 106 106 * -1 : "FAT not initialised" 107 107 * -2 : "Illegal file descriptor" 108 * -3 : "Cannot update DATA region for closed file" 109 * -4 : "Cannot release memory" 108 * -3 : "File not open" 109 * -4 : "Cannot update DATA regions" 110 * -5 : "Cannot release memory" 110 111 111 112 === __int '''_fat_file_info'''( unsigned int fd_id , struct fat_file_info_s* info )__ === 112 113 This function implements the giet_fat_file_info() system call. 113 It returns the size, offset value and is_dir info for a file identified 114 * '''fd_id''' : file descriptor index 115 * '''info''' : pointer on the fat_file_info_s to storethe values (return buffer)114 It returns the size, offset value and is_dir info for a file identified by the "fd_id" argument. 115 * '''fd_id''' : file descriptor index 116 * '''info''' : pointer to the fat_file_info_s struct storing the values (return buffer) 116 117 It returns 0 if success. It returns a negative value if error: 117 118 * -1 : "FAT not initialised"