Changes between Version 86 and Version 87 of library_stdio


Ignore:
Timestamp:
Jun 16, 2015, 5:12:39 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v86 v87  
    177177The semantic is similar to the UNIX open() function, but the UNIX oflags and the UNIX access rights are not supported.
    178178The two following flags can be ''ored'' in the '''flags''' argument:
    179  * O_RDONLY : the file will accessed as read-only. Default value is read/write.
    180  * O_CREATE  : the file will be created if it does not exist on the file system. Default value is no creation.
     179 * O_RDONLY (0x01) : the file will accessed as read-only. Default value is read/write.
     180 * O_CREATE  (0x20) : the file will be created if it does not exist on the file system. Default value is no creation.
    181181If the specified directory does not exist, an error is returned.
    182182
     
    218218This function has the same semantic as the UNIX lseek() function.
    219219It repositions the offset in the file descriptor "fd_id", according to the "offset" and "whence" arguments.
    220 The two accepted values for the whence argument are SEEK_SET (new_offset <= offset), and SEEK_CUR (new_offset <= current_offset + offset).
     220The two accepted values for the whence argument are
     221 * SEEK_SET (0) : new_offset <= offset
     222 * SEEK_CUR (1) : new_offset <= current_offset + offset
    221223
    222224Returns new offset value (bytes) if success.