Changes between Version 89 and Version 90 of library_stdio


Ignore:
Timestamp:
Jun 16, 2015, 7:22:51 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v89 v90  
    179179 * O_RDONLY (0x01) : file accessed as read-only. Default is read/write.
    180180 * O_CREATE  (0x20) : file created if it does not exist on disk. Default is no creation.
    181 If the specified directory does not exist, an error is returned.
    182 
    183 WARNING: A node name (file or directory) cannot be larger than 37 characters.
     181If one of the directories specified in the pathd does not exist, an error is returned.
     182
     183WARNING: A single node name (file or directory) cannot be larger than 33 characters.
    184184
    185185Returns file descriptor index if success
    186 Returns  -1 if error.
     186Returns a negative value if error:
     187 *   -1 :  "fat not initialised"
     188 *   -2 :  "path to parent not found"
     189 *   -3 :  "name in path too long"
     190 *   -4 :  "file not found"
     191 *   -5 :  "no more free cluster"
     192 *   -6 :  "cannot update FAT on block device"
     193 *   -7 :  "cannot update FS-INFO on block device"
     194 *   -8 :  "file descriptor array full"
     195 
    187196
    188197=== 2)  int '''giet_fat_close'''( unsigned int fd_id ) ===
     
    206215Returns number of bytes actually transferred if success.
    207216Returns 0 if (offset + count) is larger than the file size.
    208 Returns -1 if error.
     217Returns a negative value if error.
     218
    209219
    210220 === 5) int '''giet_fat_write'''( unsigned int fd_id , void* buffer, unsigned int count ) ===