Skip to content

Instantly share code, notes, and snippets.

@ma34s
Created September 7, 2012 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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