Lines Matching refs:tname

1197 	char tname[STRINGLENGTH];
1219 (void) sprintf(tname, "%s/#%d.sup", dpart, thispid);
1220 tof = open(tname, (O_WRONLY | O_CREAT | O_TRUNC | O_EXCL), 0600);
1226 (void) sprintf(tname, "sup/#%d.sup", thispid);
1227 tof = open(tname, (O_WRONLY | O_CREAT | O_TRUNC | O_EXCL), 0600);
1234 (void) sprintf(tname, "#%d.sup", thispid);
1235 tof = open(tname, (O_WRONLY | O_CREAT | O_TRUNC | O_EXCL), 0600);
1242 (void) sprintf(tname, "/var/tmp/#%d.sup", thispid);
1243 tof = open(tname, (O_WRONLY | O_CREAT | O_TRUNC | O_EXCL), 0600);
1248 (void) sprintf(tname, "/usr/tmp/#%d.sup", thispid);
1249 tof = open(tname, (O_WRONLY | O_CREAT | O_TRUNC | O_EXCL), 0600);
1254 (void) sprintf(tname, "/tmp/#%d.sup", thispid);
1255 tof = open(tname, (O_WRONLY | O_CREAT | O_TRUNC | O_EXCL), 0600);
1285 (void) unlink(tname);
1298 (void) unlink(tname);
1310 (void) unlink(tname);
1324 (void) unlink(tname);
1339 (void) unlink(tname);
1368 if ((infd = open(tname, O_RDONLY, 0)) == -1 ||
1369 unlink(tname) == -1 ||
1370 (outfd = open(tname, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, 0600)) == -1 ||
1373 to, tname);
1374 (void) unlink(tname);
1386 if (rename(tname, to) == 0) {
1387 (void) unlink(tname);
1391 fromf = open(tname, O_RDONLY, 0);
1395 (void) unlink(tname);
1404 (void) unlink(tname);
1411 (void) unlink(tname);
1424 char tname[STRINGLENGTH], fname[STRINGLENGTH];
1510 (void) sprintf(tname, FILELASTTEMP, collname, relsufix);
1511 finishfile = fopen(tname, "w");
1513 notify("SUP: Can't record list of all files in %s\n", tname);
1520 if (rename(tname, fname) < 0)
1521 notify("SUP: Can't change %s to %s (%s)\n", tname, fname,
1523 (void) unlink(tname);