Searched refs:remotecwd (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/usr.bin/ftp/
H A Dutil.c485 remotecwd[0] = '\0';
834 * Update global `remotecwd', which contains the state of the remote cwd
854 for (i = 0; *cp && i < sizeof(remotecwd) - 1; i++, cp++) {
861 remotecwd[i] = *cp;
863 remotecwd[i] = '\0';
864 DPRINTF("updateremotecwd: got `%s'\n", remotecwd);
867 remotecwd[0]='\0';
1185 p2 = connected ? remotecwd : "";
H A Dftp_var.h271 GLOBAL char remotecwd[MAXPATHLEN]; /* remote dir */ variable
272 GLOBAL int remcwdvalid; /* remotecwd has been updated */
H A Dcmds.c1161 remotecwd[0] = '\0';
1548 if (!remcwdvalid || remotecwd[0] == '\0')
1550 if (remotecwd[0] == '\0')
1553 fprintf(ttyout, "Remote directory: %s\n", remotecwd);
2375 remotecwd[0] = '\0';

Completed in 153 milliseconds