Embedded TCP/IP stack
4.7.0
|
fnet_return_t fnet_fs_fseek | ( | fnet_fs_file_t | file, |
fnet_int32_t | offset, | ||
fnet_fs_seek_origin_t | origin | ||
) |
Changes the file-position indicator for the specified file.
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. |
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
.