4 std::string& full_ret_file) {
5 full_ret_file = THIS_COM + folder_name + file_name;
6 full_ret_file +=
".txt";
8 std::list<std::string>::iterator iter = std::find(
12 remove(full_ret_file.c_str());
19 if (mkdir(full_path.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) == -1) {
20 if (errno == EEXIST) {
25 std::cout <<
"cannot create session name folder error:" << strerror(errno)
static std::list< std::string > gs_fileName_string
void cleaning_file(const std::string &folder_name, const std::string &file_name, std::string &full_ret_file)
void create_folder(const std::string &folder_name)