Changeset 746 for soft/giet_vm/giet_fat32/fat32.c
- Timestamp:
- Dec 15, 2015, 4:19:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.c
r744 r746 3630 3630 // the "seek" and "whence" arguments. 3631 3631 // It has the same semantic as the UNIX lseek() function. 3632 // Accepted values for whence are SEEK_SET and SEEK_CUR.3632 // Accepted values for whence are SEEK_SET / SEEK_CUR / SEEK_END. 3633 3633 ///////////////////////////////////////////////////////////////////////////////// 3634 3634 // Returns new seek value (in bytes) on success. … … 3679 3679 if ( whence == SEEK_CUR ) new_seek = _fat.fd[fd_id].seek + seek; 3680 3680 else if ( whence == SEEK_SET ) new_seek = seek; 3681 else if ( whence == SEEK_END ) new_seek = _fat.fd[fd_id].inode->size + seek; 3681 3682 else 3682 3683 {
Note: See TracChangeset
for help on using the changeset viewer.