Changes between Version 86 and Version 87 of library_stdio
- Timestamp:
- Jun 16, 2015, 5:12:39 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v86 v87 177 177 The semantic is similar to the UNIX open() function, but the UNIX oflags and the UNIX access rights are not supported. 178 178 The 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. 181 181 If the specified directory does not exist, an error is returned. 182 182 … … 218 218 This function has the same semantic as the UNIX lseek() function. 219 219 It 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). 220 The two accepted values for the whence argument are 221 * SEEK_SET (0) : new_offset <= offset 222 * SEEK_CUR (1) : new_offset <= current_offset + offset 221 223 222 224 Returns new offset value (bytes) if success.