Changes between Version 20 and Version 21 of file_system


Ignore:
Timestamp:
Jul 18, 2015, 2:39:40 PM (9 years ago)
Author:
guerin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v20 v21  
    109109 *  -4  : "Cannot release memory"
    110110
    111 === __int '''_fat_file_info'''( unsigned int fd_id , unsigned int* size , unsigned int* offset )__ ===
     111=== __int '''_fat_file_info'''( unsigned int fd_id , struct fat_file_info_s* info )__ ===
    112112This function implements the giet_fat_file_info() system call.
    113 It returns the size and the current offset value for a file identified  by the "fd_id" argument.
    114  * '''fd_id''' : file descriptor index
    115  * '''size''' : pointer on the size (return buffer)
    116  * '''offset''' : pointer on the offset (return buffer)
     113It 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)
    117116It returns 0 if success. It returns a negative value if error:
    118117 *  -1  : "FAT not initialised"