Lines Matching refs:pDir
108 char *pDir = pPath; in checkFilePath() local
121 pDir = malloc(sizeof(char) * nSlashIndex); in checkFilePath()
122 if (pDir == NULL) in checkFilePath()
127 strncpy(pDir, pPath, nSlashIndex); in checkFilePath()
128 pDir[nSlashIndex] = '\0'; in checkFilePath()
132 result = stat(pDir, &buf); in checkFilePath()
136 if (SymbianCheckFSDirectory(pDir) == -1) in checkFilePath()
138 printf("Cannot create directory : %s\n.", pDir); in checkFilePath()
142 printf("Unknown path : %s\n.", pDir); in checkFilePath()
151 printf("Path %s doesn't point on a directory.\n", pDir); in checkFilePath()
159 printf("Path %s doesn't have the READ access rights.\n", pDir); in checkFilePath()
165 printf("Path %s doesn't have the WRITE access rights.\n", pDir); in checkFilePath()