Lines Matching refs:currentDir
24 static char *currentDir = NULL;
84 * Frees the string stored in the currentDir variable. This routine
91 * Frees the memory occuppied by the currentDir value.
101 if (currentDir != (char *) NULL) {
102 ckfree(currentDir);
103 currentDir = (char *) NULL;
162 if (currentDir != NULL) {
163 ckfree(currentDir);
164 currentDir = NULL;
205 if (currentDir == NULL) {
222 currentDir = (char *) ckalloc((unsigned) (strlen(buffer) + 1));
223 strcpy(currentDir, buffer);
225 return currentDir;