Searched refs:tmpfil (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/lib/libc/tests/stdio/ |
H A D | perror_test.c | 46 static char tmpfil[PATH_MAX]; variable 55 strcpy(tmpfil, "perror.XXXXXXXX"); 56 ATF_REQUIRE(mkstemp(tmpfil) >= 0); 61 ATF_REQUIRE(freopen(tmpfil, "r+", stderr) != NULL);
|
/freebsd-13-stable/usr.sbin/edquota/ |
H A D | edquota.c | 87 static char tmpfil[] = _PATH_TMP; variable 289 tmpfd = mkostemp(tmpfil, O_CLOEXEC); 294 editit(tmpfil) && readtimes(protoprivs, tmpfil)) 299 unlink(tmpfil); 309 if (editit(tmpfil) && readprivs(curprivs, tmpfil)) 314 unlink(tmpfil); 484 err(1, "%s", tmpfil); 698 err(1, "%s", tmpfil); [all...] |
/freebsd-13-stable/sbin/bsdlabel/ |
H A D | bsdlabel.c | 105 static char tmpfil[] = PATH_TMPFILE; variable 623 if ((fd = mkstemp(tmpfil)) == -1 || 625 warnx("can't create %s", tmpfil); 633 fp = fopen(tmpfil, "r"); 635 warnx("can't reopen %s for reading", tmpfil); 644 (void) unlink(tmpfil); 657 (void) unlink(tmpfil); 692 execlp(ed, ed, tmpfil, (char *)0);
|
Completed in 40 milliseconds