Lines Matching refs:targ
108 char *targ; in main() local
198 if ((targ = colon(argv[argc - 1]))) /* Dest is remote host. */ in main()
199 toremote(targ, argc, argv); in main()
209 toremote(char *targ, int argc, char *argv[]) in toremote() argument
214 *targ++ = 0; in toremote()
215 if (*targ == 0) in toremote()
216 targ = period; in toremote()
251 thost, targ) == -1) in toremote()
258 thost, targ) == -1) in toremote()
264 if (asprintf(&bp, "%s -t %s", cmd, targ) in toremote()
501 char ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ], path[PATH_MAX]; in sink() local
516 targ = *argv; in sink()
518 verifydir(targ); in sink()
520 if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode)) in sink()
599 if (strlen(targ) + (*targ ? 1 : 0) + strlen(cp) in sink()
601 run_err("%s%s%s: name too long", targ, in sink()
602 *targ ? "/" : "", cp); in sink()
605 (void)snprintf(path, sizeof(path), "%s%s%s", targ, in sink()
606 *targ ? "/" : "", cp); in sink()
609 np = targ; in sink()