Skip to content

Instantly share code, notes, and snippets.

@ma34s
Created September 7, 2012 03:58
Show Gist options
  • Save ma34s/3662957 to your computer and use it in GitHub Desktop.
Save ma34s/3662957 to your computer and use it in GitHub Desktop.
バックアップファイル名を・・・
char timestr[PATH_MAX];
sprintf(backup_path,"/sdcard/clockworkmod/backup/%s_",CURR_ROM_NAME);
strftime(timestr, PATH_MAX, "%F.%H.%M.%S", tmp);
strcat(backup_path,timestr);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment