Searched refs:mkstemp (Results 1 - 25 of 148) sorted by relevance

123456

/freebsd-11.0-release/contrib/groff/src/libs/libgroff/
H A Dmkstemp.cpp21 /* This file is heavily based on the file mkstemp.c which is part of the
31 int mkstemp(char *tmpl) function
H A Dtmpfile.cpp176 int fd = mkstemp(templ);
/freebsd-11.0-release/usr.bin/unifdef/
H A Dunifdef.h48 int fd = mkstemp(tmp);
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Dmkstemp.c50 mkstemp(char *template) function
H A Dtest-readenv.c53 fd = mkstemp(tmpl);
55 err(1, "mkstemp");
/freebsd-11.0-release/tests/sys/kern/pipe/
H A Dpipe_overcommit2_test.c53 if (mkstemp(template) == -1)
54 err(1, "mkstemp failed");
/freebsd-11.0-release/tools/regression/sockets/reconnect/
H A Dreconnect.c113 if (mkstemp(uds_name1) == -1)
114 err(1, "mkstemp");
118 if (mkstemp(uds_name2) == -1)
119 err(1, "mkstemp");
/freebsd-11.0-release/contrib/sendmail/test/
H A Dt_pathconf.c49 fd = mkstemp(tbuf);
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dxmmap.c68 tmpfd = mkstemp(tmpname);
71 fatal("mkstemp(\"%s\"): %s",
H A Dmktemp.c111 "warning: mktemp() possibly used unsafely; consider using mkstemp()");
121 mkstemp(char *path) function
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_fsync.c102 fd = mkstemp(buf);
/freebsd-11.0-release/contrib/groff/src/include/
H A Dlib.h72 /* since mkstemp() is defined as a real C++ function if taken from
73 groff's mkstemp.cpp we need a declaration */
74 int mkstemp(char *tmpl);
/freebsd-11.0-release/lib/libc/stdio/
H A Dtmpfile.c75 fd = mkstemp(buf);
H A Dmktemp.c80 mkstemp(char *path) function
100 "warning: mktemp() possibly used unsafely; consider using mkstemp()");
/freebsd-11.0-release/lib/libc/tests/stdio/
H A Dperror_test.c56 ATF_REQUIRE(mkstemp(tmpfil) >= 0);
/freebsd-11.0-release/tests/sys/kern/
H A Dkern_copyin.c62 scratch_file = mkstemp(template);
/freebsd-11.0-release/tools/regression/sockets/pr_atomic/
H A Dpr_atomic.c61 if (mkstemp(socket_path) == -1)
62 err(1, "mkstemp");
/freebsd-11.0-release/usr.bin/mktemp/
H A Dmktemp.c30 * BSD-like OS without mkstemp(). It's been modified over the years
31 * to use mkstemp() rather than the original O_CREAT|O_EXCL/fstat/lstat
129 fd = mkstemp(name);
133 warn("mkstemp failed on %s", name);
/freebsd-11.0-release/contrib/mdocml/
H A Dtag.c77 if ((ofd = mkstemp(tag_files.ofn)) == -1)
79 if ((tag_files.tfd = mkstemp(tag_files.tfn)) == -1)
/freebsd-11.0-release/tools/regression/sockets/unix_close_race/
H A Dunix_close_race.c78 if (mkstemp(socket_path) == -1)
79 err(1, "mkstemp failed");
/freebsd-11.0-release/contrib/ntp/sntp/libopts/
H A Dpgusage.c55 int fd = mkstemp(bf);
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_exit.c158 fd = mkstemp(buf);
/freebsd-11.0-release/contrib/ntp/include/
H A Dl_stdlib.h89 extern int mkstemp (char *);
/freebsd-11.0-release/contrib/ntp/lib/isc/win32/
H A Dfile.c44 * Emulate UNIX mkstemp, which returns an open FD to the new file
111 mkstemp(char *path) { function
168 tmpfd = mkstemp(buf);
303 fd = mkstemp(templet);
341 * Win32 does not have mkstemp. Using emulation above.
343 fd = mkstemp(templet);
/freebsd-11.0-release/contrib/apr/file_io/unix/
H A Dmktemp.c169 #include <stdlib.h> /* for mkstemp() - Single Unix */
172 #include <unistd.h> /* for mkstemp() - FreeBSD */
190 fd = mkstemp(template);
197 * mkstemp didn't subscribe to our preference flags.

Completed in 117 milliseconds

123456