Symbol: mkstemp
bin/csh/dol.c
824
if (mkstemp(tmp) == -1)
bin/ed/buf.c
207
if ((fd = mkstemp(sfn)) == -1 ||
bin/ksh/io.c
453
fd = mkstemp(path);
bin/pax/tables.c
472
if ((ffd = mkstemp(tempfile)) == -1) {
include/stdlib.h
206
int mkstemp(char *);
include/unistd.h
415
int mkstemp(char *);
lib/libc/hidden/stdlib.h
122
PROTO_NORMAL(mkstemp);
lib/libc/hidden/unistd.h
107
PROTO_NORMAL(mkstemp);
lib/libc/stdio/tmpfile.c
53
fd = mkstemp(buf);
lib/libc/stdlib/mkstemp.c
59
DEF_WEAK(mkstemp);
lib/libedit/readline.c
1203
if ((fd = mkstemp(template)) == -1) {
lib/libedit/vi.c
976
fd = mkstemp(tempfile);
lib/libsndio/aucat.c
264
fd = mkstemp(tmp);
libexec/ld.so/ldconfig/ldconfig.c
385
if ((fd = mkstemp(tmpfilenam)) == -1) {
libexec/mail.local/mail.local.c
121
if ((fd = mkstemp(tbuf)) == -1 || !(fp = fdopen(fd, "w+")))
regress/lib/libc/mkstemp/mkstemp_test.c
84
fd = mkstemp(p);
regress/lib/libc/orientation/orientation_test.c
128
if ((fd = mkstemp(filename)) == -1)
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
50
if ((fd = mkstemp(sfn)) == -1 ||
regress/lib/libc/stdio_threading/fgets/fgets_test.c
49
if ((fd = mkstemp(sfn)) == -1 ||
regress/lib/libc/stdio_threading/fputs/fputs_test.c
47
if ((fd = mkstemp(sfn)) == -1 ||
regress/lib/libc/stdio_threading/fread/fread_test.c
51
if ((fd = mkstemp(sfn)) == -1 ||
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
47
if ((fd = mkstemp(sfn)) == -1 ||
regress/lib/libc/sys/t_dup.c
328
buf[0] = mkstemp(path);
regress/lib/libc/sys/t_fsync.c
106
fd = mkstemp(buf);
regress/lib/libcrypto/test/test.c
72
if ((out_fd = mkstemp(tmp_file)) == -1)
regress/sys/kern/dup2/dup2test.c
17
if ((orgfd = mkstemp(temp)) < 0)
regress/sys/kern/dup2_self/dup2_self.c
37
if ((orgfd = mkstemp(temp)) < 0)
regress/sys/kern/fcntl_dup/fcntl_dup.c
17
if ((orgfd = mkstemp(temp)) < 0)
regress/sys/kern/flock/util.c
46
fd = mkstemp(template);
regress/sys/kern/futex/futex.c
81
fd = mkstemp(filename);
regress/sys/kern/mmap/mmaptest.c
50
fd = mkstemp(nm);
regress/sys/kern/mmap2/mmaptest.c
30
if ((fd = mkstemp(fname)) < 0)
regress/sys/kern/pread/pread.c
21
if ((fd = mkstemp(temp)) < 0)
regress/sys/kern/preadv/preadv.c
24
if ((fd = mkstemp(temp)) < 0)
regress/sys/kern/pwrite/pwrite.c
24
if ((fd = mkstemp(temp)) < 0)
regress/sys/kern/pwritev/pwritev.c
27
if ((fd = mkstemp(temp)) < 0)
regress/sys/kern/signal/siginfo-fault/siginfo-fault.c
161
CHECK_LE(0, (fd = mkstemp(filename)));
regress/sys/kern/sysvmsg/msgtest.c
92
if ((fd = mkstemp(keyname)) < 0)
regress/sys/kern/sysvsem/semtest.c
88
if ((fd = mkstemp(keyname)) < 0)
regress/sys/kern/sysvshm/shmtest.c
82
if ((fd = mkstemp(keyname)) < 0)
regress/sys/kern/unveil/syscalls.c
344
if ((fd = mkstemp(filename3)) == -1)
regress/sys/kern/unveil/syscalls.c
774
UV_SHOULD_SUCCEED((mkstemp(filename3) == -1), "mkstemp");
regress/sys/kern/unveil/unveil.h
108
UV_SHOULD_SUCCEED(((fd1 = mkstemp(uv_file1)) == -1), "mkstemp");
regress/sys/kern/unveil/unveil.h
111
UV_SHOULD_SUCCEED(((fd2 = mkstemp(uv_file2)) == -1), "mkstemp");
regress/sys/uvm/mmap_mod/mmap_mod.c
29
if ((fd = mkstemp(name)) == -1)
regress/sys/uvm/mmap_write_self/mmap_write_self.c
41
if ((fd = mkstemp(name)) == -1)
sbin/dhcp6leased/dhcp6leased.c
1058
if ((fd = mkstemp(tmpl)) == -1) {
sbin/dhcp6leased/dhcp6leased.c
1207
if ((fd = mkstemp(tmpl)) == -1) {
sbin/dhcpleased/dhcpleased.c
939
if ((fd = mkstemp(tmpl)) == -1) {
sbin/disklabel/disklabel.c
610
if ((fd = mkstemp(tmpfil)) == -1 || (fp = fdopen(fd, "w")) == NULL) {
sbin/restore/dirs.c
147
fd = mkstemp(dirfile);
sbin/restore/dirs.c
162
fd = mkstemp(modefile);
sbin/scsi/scsi.c
562
if ((fd = mkstemp(edit_name)) == -1)
usr.bin/cvs/buf.c
247
if ((fd = mkstemp(template)) == -1)
usr.bin/cvs/logmsg.c
115
if ((fd = mkstemp(fpath)) == -1)
usr.bin/cvs/logmsg.c
338
if ((fd = mkstemp(fpath)) == -1)
usr.bin/cvs/rcs.c
2166
if ((fd = mkstemp(template)) == -1)
usr.bin/cvs/rcs.c
308
if ((fd = mkstemp(fn)) == -1)
usr.bin/diff/diffreg.c
464
if ((ofd = mkstemp(tempfile)) == -1) {
usr.bin/ftp/util.c
406
if ((fd = mkstemp(temp)) == -1) {
usr.bin/htpasswd/htpasswd.c
168
if ((fd = mkstemp(tmpl)) == -1)
usr.bin/m4/eval.c
399
fd = mkstemp(temp);
usr.bin/m4/eval.c
829
if ((fd = mkstemp(fname)) == -1 ||
usr.bin/mail/collect.c
468
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mail/collect.c
78
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mail/edit.c
158
if ((t = mkstemp(tempname)) == -1 ||
usr.bin/mail/fio.c
77
if ((c = mkstemp(pathbuf)) == -1 || (mestmp = Fdopen(c, "r+")) == NULL)
usr.bin/mail/names.c
240
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mail/quit.c
113
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mail/quit.c
195
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mail/quit.c
416
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mail/send.c
473
if ((fd = mkstemp(tempname)) == -1 ||
usr.bin/mandoc/term_tag.c
108
if ((tfd = mkstemp(tag_files.tfn)) == -1) {
usr.bin/mg/fileio.c
248
to = mkstemp(tname);
usr.bin/newsyslog/newsyslog.c
875
if ((fd = mkstemp(file2)) == -1)
usr.bin/patch/patch.c
178
if ((fd = mkstemp(TMPOUTNAME)) == -1)
usr.bin/patch/patch.c
184
if ((fd = mkstemp(TMPINNAME)) == -1)
usr.bin/patch/patch.c
190
if ((fd = mkstemp(TMPREJNAME)) == -1)
usr.bin/patch/patch.c
196
if ((fd = mkstemp(TMPPATNAME)) == -1)
usr.bin/rcs/buf.c
311
if ((fd = mkstemp(template)) == -1)
usr.bin/rcs/rcs.c
228
if ((fd = mkstemp(fn)) == -1)
usr.bin/rdist/message.c
461
if ((fd = mkstemp(msgfac->mf_filename)) == -1 ||
usr.bin/rdistd/server.c
743
if (chkparent(new, opts) < 0 || (f = mkstemp(new)) == -1) {
usr.bin/rwall/rwall.c
115
if ((fd = mkstemp(tmpname)) == -1 || !(fp = fdopen(fd, "r+")))
usr.bin/sdiff/edit.c
141
if ((fd = mkstemp(filename)) == -1)
usr.bin/sdiff/sdiff.c
127
if ((ofd = mkstemp(target_file)) == -1) {
usr.bin/sed/main.c
405
if ((fd = mkstemp(tmpfname)) == -1)
usr.bin/sendbug/sendbug.c
121
if ((fd = mkstemp(tmppath)) == -1)
usr.bin/sort/file.c
169
if ((fd = mkstemp(ret)) == -1)
usr.bin/sort/sort.c
1029
if ((fd = mkstemp(outfile)) == -1)
usr.bin/ssh/hostfile.c
650
if ((fd = mkstemp(temp)) == -1) {
usr.bin/ssh/moduli.c
411
if ((r = mkstemp(tmp)) == -1) {
usr.bin/ssh/session.c
228
if ((fd = mkstemp(auth_info_file)) == -1) {
usr.bin/ssh/ssh-keygen.c
1043
if ((fd = mkstemp(prv_tmp)) == -1) {
usr.bin/ssh/ssh-keygen.c
1065
if ((fd = mkstemp(pub_tmp)) == -1) {
usr.bin/ssh/ssh-keygen.c
1272
if ((fd = mkstemp(tmp)) == -1)
usr.bin/tic/tic.c
398
int fd = mkstemp(filename);
usr.bin/tmux/popup.c
942
fd = mkstemp(path);
usr.bin/unifdef/unifdef.c
1587
int fd = mkstemp(tmp);
usr.bin/vi/common/exf.c
192
fd = mkstemp(tname);
usr.bin/vi/common/recover.c
805
if ((fd = mkstemp(path)) == -1 || fchmod(fd, perms) == -1) {
usr.bin/vi/ex/ex_filter.c
82
fd = mkstemp(tname);
usr.bin/wall/wall.c
189
if ((fd = mkstemp(tmpname)) >= 0) {
usr.bin/xinstall/xinstall.c
638
return(mkstemp(temp));
usr.sbin/acme-client/fileproc.c
59
if ((fd = mkstemp(tmp)) == -1) {
usr.sbin/cron/crontab.c
293
t = mkstemp(Filename);
usr.sbin/cron/crontab.c
398
fd = mkstemp(template);
usr.sbin/crunchgen/crunchgen.c
667
if ((fd = mkstemp(tempfname)) == -1 || (f = fdopen(fd, "w")) == NULL) {
usr.sbin/edquota/edquota.c
148
if ((tmpfd = mkstemp(tmpfil)) == -1)
usr.sbin/ldapd/btree.c
3082
fd = mkstemp(compact_path);
usr.sbin/lpd/engine_lpr.c
377
if ((fd = mkstemp(path)) == -1) {
usr.sbin/lpd/printer.c
667
if ((efd = mkstemp(prn->efile)) == -1) {
usr.sbin/smtpd/makemap.c
191
if ((fd = mkstemp(dbname)) == -1)
usr.sbin/smtpd/smtpctl.c
145
if ((fd = mkstemp(path)) == -1 || (fp = fdopen(fd, "w+")) == NULL) {
usr.sbin/smtpd/smtpd.c
1480
allout = mkstemp(sfn);
usr.sbin/smtpd/util.c
327
if ((fd = mkstemp(path)) == -1) {
usr.sbin/unbound/testcode/testbound.c
535
fd = mkstemp(pathname);
usr.sbin/user/user.c
1336
if ((fd = mkstemp(f)) == -1) {
usr.sbin/user/user.c
423
if ((fd = mkstemp(f)) == -1) {
usr.sbin/user/user.c
495
if ((fd = mkstemp(f)) == -1) {
usr.sbin/user/user.c
620
if ((fd = mkstemp(f)) == -1) {
usr.sbin/user/user.c
802
if ((fd = mkstemp(template)) == -1) {
usr.sbin/ypserv/ypxfr/ypxfr.c
463
fd = mkstemp(tmpmapname);