libimobiledevice
1.3.0
API Documentation -
Return to Homepage
About
Structs
Files
libimobiledevice
afc.h
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_file_info
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_set_file_time
afc_truncate
◆
afc_truncate()
afc_error_t
afc_truncate
(
afc_client_t
client
,
const char *
path
,
uint64_t
newsize
)
Sets the size of a file on the device without prior opening it.
Parameters
client
The client to use to set the file size.
path
The path of the file to be truncated.
newsize
The size to set the file to.
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.
© 2007-2020
libimobiledevice
All rights reserved
Generated on
Thu Jun 25 2020 18:42:15
by
doxygen 1.8.16
Icons by
Tango
Design © 2020 by
Mirell