Symbol: tmpfile
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
34
out = tmpfile();
include/stdio.h
303
FILE *tmpfile(void);
tests/sys/fs/fusefs/rename.cc
263
tmpfd = mkstemp(tmpfile);
tests/sys/fs/fusefs/rename.cc
268
ASSERT_NE(0, rename(tmpfile, FULLB));
tests/sys/fs/fusefs/rename.cc
271
ASSERT_NE(0, rename(FULLB, tmpfile));
tests/sys/fs/fusefs/rename.cc
44
char tmpfile[80] = "/tmp/fuse.rename.XXXXXX";
tests/sys/fs/fusefs/rename.cc
49
unlink(tmpfile);
tests/sys/kern/ptrace_test.c
3499
char tmpfile[64];
tests/sys/kern/ptrace_test.c
3508
(void)snprintf(tmpfile, sizeof(tmpfile), "./ptrace.XXXXXX");
tests/sys/kern/ptrace_test.c
3509
fd = mkstemp(tmpfile);
tests/sys/kern/ptrace_test.c
3521
cfd = open(tmpfile, O_RDONLY);
tests/sys/kern/ptrace_test.c
3567
REQUIRE_EQ(unlink(tmpfile), 0);
usr.bin/csplit/csplit.c
387
if ((ofp = tmpfile()) == NULL)
usr.bin/pr/pr.c
1603
if ((err = tmpfile()) == NULL) {
usr.sbin/certctl/certctl.c
579
char *tmpfile = NULL;
usr.sbin/certctl/certctl.c
595
tmpfile = xasprintf(".%s", file);
usr.sbin/certctl/certctl.c
596
fd = openat(d, tmpfile, O_WRONLY | O_CREAT | O_EXCL, mode);
usr.sbin/certctl/certctl.c
599
if (tmpfile != NULL && fd >= 0) {
usr.sbin/certctl/certctl.c
601
(void)unlinkat(d, tmpfile, 0);
usr.sbin/certctl/certctl.c
604
err(1, "%s/%s", dir, tmpfile ? tmpfile : file);
usr.sbin/certctl/certctl.c
608
warn("%s/%s", dir, tmpfile ? tmpfile : file);
usr.sbin/certctl/certctl.c
613
if (tmpfile != NULL) {
usr.sbin/certctl/certctl.c
614
if (ret == 0 && renameat(d, tmpfile, d, file) != 0) {
usr.sbin/certctl/certctl.c
619
(void)unlinkat(d, tmpfile, 0);
usr.sbin/certctl/certctl.c
620
free(tmpfile);