Changes between Version 21 and Version 22 of file_system


Ignore:
Timestamp:
Jul 18, 2015, 2:48:21 PM (10 years ago)
Author:
guerin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v21 v22  
    106106 *  -1  : "FAT not initialised"
    107107 *  -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"
    110111
    111112=== __int '''_fat_file_info'''( unsigned int fd_id , struct fat_file_info_s* info )__ ===
    112113This function implements the giet_fat_file_info() system call.
    113 It returns the size, offset value and is_dir info for a file identified  by the "fd_id" argument.
    114  * '''fd_id''' : file descriptor index
    115  * '''info''' : pointer on the fat_file_info_s to store the values (return buffer)
     114It 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)
    116117It returns 0 if success. It returns a negative value if error:
    117118 *  -1  : "FAT not initialised"