Lines Matching defs:cwd
2197 char *cwd;
2206 cwd = getcwd (NULL, MAXPATHLEN);
2208 strlen (cwd) + strlen (config_file) + 2);
2209 sprintf (fullpath, "%s/%s", cwd, config_file);
2302 cwd = getcwd (NULL, MAXPATHLEN);
2304 strlen (cwd) + strlen (config_current_dir) + 2);
2305 sprintf (fullpath, "%s/%s", cwd, config_current_dir);
2781 char *cwd;
2783 cwd = getcwd (NULL, MAXPATHLEN);
2785 vty_cwd = XMALLOC (MTYPE_TMP, strlen (cwd) + 1);
2786 strcpy (vty_cwd, cwd);