Lines Matching defs:name2_p
144 static int creat_lnk(int dirfd, char *name1_p, char *name2_p);
1717 * creat_lnk: Create a link from the existing name1_p to name2_p.
1722 creat_lnk(int dirfd, char *name1_p, char *name2_p)
1728 if (!link(name1_p, name2_p)) {
1753 if (lstat(name2_p, &lsb2) != 0) {
1755 "destination file %s", name2_p);
1760 name2_p);
1768 name2_p);
1769 else if (unlinkat(dirfd, get_component(name2_p), 0) < 0)
1771 name2_p);
1774 } while ((cnt < 2) && missdir(name2_p) == 0);
1780 newname = name2_p;
1803 "Unable to create directory for \"%s\"", name2_p);
1806 "Cannot link \"%s\" and \"%s\"", name1_p, name2_p);