Lines Matching defs:f2
35 * copy f1 to f2 locally
37 * f2 -> destination file name
44 xcp(f1, f2)
45 char *f1, *f2;
55 if (DIRECTORY(f2)) {
56 (void) strcat(f2, "/");
57 (void) strcat(f2, BASENAME(f1, '/'));
59 DEBUG(4, "file name is %s\n", f2);
61 (void) strcpy(temp, f2);
72 /* in this case, try f2 since it is pre-created */
73 temp_p = f2;
96 if (temp_p != f2) {
97 if (rename(temp_p, f2) != 0) {
108 * move f1 to f2 locally
115 xmv(f1, f2)
116 register char *f1, *f2;
121 if (stat(f2, &sbuf) == 0)
127 (void) unlink(f2); /* i'm convinced this is the right */
129 if ((ret = link(f1, f2)) < 0) {
131 ret = xcp(f1, f2);
156 * append f1 to f2
158 * f2 -> destination FILE pointer
182 * copy f1 to f2 locally under uid of uid argument
184 * f2 -> destination file name
197 uidxcp(f1, f2)
198 char *f1, *f2;
203 (void) strcpy(full, f2);
204 if (DIRECTORY(f2)) {