Lines Matching refs:path
10 TCHAR* path, /* Path name buffer with the sub-directory to delete */
11 UINT sz_buff, /* Size of path name buffer (items) */
20 fr = f_opendir(&dir, path); /* Open the sub-directory to make it empty */
23 for (i = 0; path[i]; i++) ; /* Get current path length */
24 path[i++] = _T('/');
30 do { /* Make a path name */
34 path[i + j] = fno->fname[j];
37 fr = delete_node(path, sz_buff, fno);
39 fr = f_unlink(path);
44 path[--i] = 0; /* Restore the path name */
47 if (fr == FR_OK) fr = f_unlink(path); /* Delete the empty sub-directory */