libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ afc_file_seek()

afc_error_t afc_file_seek ( afc_client_t  client,
uint64_t  handle,
int64_t  offset,
int  whence 
)

Seeks to a given position of a pre-opened file on the device.

Parameters
clientThe client to use to seek to the position.
handleFile handle of a previously opened.
offsetSeek offset.
whenceSeeking direction, one of SEEK_SET, SEEK_CUR, or SEEK_END.
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.