afc_file_read - libimobiledevice 1.4.0

| libimobiledevice 1.4.0 API Documentation - Return to Homepage

afc_client_free
afc_client_new
afc_client_start_service
afc_client_t
afc_dictionary_free
afc_error_t
afc_file_close
afc_file_lock
afc_file_mode_t
afc_file_open
afc_file_read
afc_file_seek
afc_file_tell
afc_file_truncate
afc_file_write
afc_get_device_info
afc_get_device_info_key
afc_get_device_info_plist
afc_get_file_info
afc_get_file_info_plist
afc_link_type_t
afc_lock_op_t
afc_make_directory
afc_make_link
afc_read_directory
afc_remove_path
afc_remove_path_and_contents
afc_rename_path
AFC_SERVICE_NAME
afc_set_file_time
afc_strerror
afc_truncate
| ## ◆ afc_file_read()
afc_error_t afc_file_read | ( | afc_client_t | client,
|  | uint64_t | handle,
|  | char * | data,
|  | uint32_t | length,
|  | uint32_t * | bytes_read )
  Attempts to the read the given number of bytes from the given file. Parameters
  client | The relevant AFC client
  handle | File handle of a previously opened file
  data | The pointer to the memory region to store the read data
  length | The number of bytes to read
  bytes_read | The number of bytes actually read.
Returns AFC_E_SUCCESS on success or an AFC_E_* error value.