Home
last modified time | relevance | path

Searched refs:dirPath (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_common.c159 int CreateNewDir(const char *dirPath) in CreateNewDir() argument
163 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() argument
183 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 …]
Dlos_blackbox_common.h53 int CreateLogDir(const char *dirPath);