Lines Matching defs:path
154 static char path[MaxPathLen+1]; /* path + '/' + '\0' */
156 if (getcwd(path, sizeof(path)-1) == NULL)
158 if (path[1] != '\0') /* special case for root dir. */
159 strlcat(path, "/", sizeof(path));
161 return (guest ? path+1 : path);
1756 cwd(const char *path)
1759 if (chdir(path) < 0)
1760 perror_reply(550, path);
1795 char path[MaxPathLen];
1801 ret = getcwd(path, sizeof(path));
1805 reply(257, "\"%s\" is current directory.", path);