Lines Matching refs:source
216 linkit(const char *source, const char *target, bool isdir) in linkit() argument
228 if ((Pflag ? lstat : stat)(source, &sb)) { in linkit()
229 warn("%s", source); in linkit()
235 warn("%s", source); in linkit()
247 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) || in linkit()
252 warn("%s", source); in linkit()
263 if (*source == '/') { in linkit()
265 if (stat(source, &sb) != 0) in linkit()
266 warn("warning: %s inaccessible", source); in linkit()
277 p, source); in linkit()
279 warn("warning: %s", source); in linkit()
289 if (!sflag && samedirent(source, target)) { in linkit()
291 source, target); in linkit()
333 if (sflag ? symlink(source, target) : in linkit()
334 linkat(AT_FDCWD, source, AT_FDCWD, target, in linkit()
340 (void)printf("%s %c> %s\n", target, linkch, source); in linkit()