Searched refs:dirPath (Results 1 – 2 of 2) sorted by relevance
159 int CreateNewDir(const char *dirPath) in CreateNewDir() argument163 if (dirPath == NULL) { in CreateNewDir()168 ret = access(dirPath, 0); in CreateNewDir()172 ret = mkdir(dirPath, BBOX_DIR_MODE); in CreateNewDir()174 BBOX_PRINT_ERR("mkdir [%s] failed!\n", dirPath); in CreateNewDir()181 int CreateLogDir(const char *dirPath) in CreateLogDir() argument183 const char *temp = dirPath; in CreateLogDir()187 if (dirPath == NULL) { in CreateLogDir()191 if (*dirPath != '/') { in CreateLogDir()192 BBOX_PRINT_ERR("Invalid dirPath: %s\n", dirPath); in CreateLogDir()[all …]
53 int CreateLogDir(const char *dirPath);