Changes the file-position indicator for the specified file.
- Parameters
-
| file | File descriptor, of which the position indicator should be changed. |
| offset | Specifies the number of bytes from origin, where the position indicator should be placed. It may be negative and positive. |
| origin | Origin position defined by fnet_fs_seek_origin_t. |
- Returns
- This function returns:
- See also
- fnet_fs_ftell()
This function sets the position indicator associated with the file descriptor to a new position defined by adding offset to a reference position specified by origin.