Function gnunet_sys::GNUNET_DISK_file_backup [−][src]
pub unsafe extern "C" fn GNUNET_DISK_file_backup(fil: *const c_char)
Move a file out of the way (create a backup) by renaming it to “orig.NUM~” where NUM is the smallest number that is not used yet.
@param fil name of the file to back up