Lines Matching defs:name2_p
142 static int creat_lnk(int dirfd, char *name1_p, char *name2_p);
1712 * creat_lnk: Create a link from the existing name1_p to name2_p.
1717 creat_lnk(int dirfd, char *name1_p, char *name2_p)
1723 if (!link(name1_p, name2_p)) {
1748 if (lstat(name2_p, &lsb2) != 0) {
1750 "destination file %s", name2_p);
1755 name2_p);
1763 name2_p);
1764 else if (unlinkat(dirfd, get_component(name2_p), 0) < 0)
1766 name2_p);
1769 } while ((cnt < 2) && missdir(name2_p) == 0);
1775 newname = name2_p;
1798 "Unable to create directory for \"%s\"", name2_p);
1801 "Cannot link \"%s\" and \"%s\"", name1_p, name2_p);