Home
last modified time | relevance | path

Searched refs:tmpfd (Results 1 – 3 of 3) sorted by relevance

/external/openssh/openbsd-compat/
Dxmmap.c64 int tmpfd; in xmmap() local
68 tmpfd = mkstemp(tmpname); in xmmap()
70 if (tmpfd == -1) in xmmap()
74 if (ftruncate(tmpfd, size) != 0) in xmmap()
77 tmpfd, (off_t)0); in xmmap()
78 close(tmpfd); in xmmap()
/external/openssh/
Dauth-krb5.c244 int tmpfd, ret, oerrno; in ssh_krb5_cc_gen() local
254 tmpfd = mkstemp(ccname + strlen("FILE:")); in ssh_krb5_cc_gen()
257 if (tmpfd == -1) { in ssh_krb5_cc_gen()
262 if (fchmod(tmpfd,S_IRUSR | S_IWUSR) == -1) { in ssh_krb5_cc_gen()
265 close(tmpfd); in ssh_krb5_cc_gen()
268 close(tmpfd); in ssh_krb5_cc_gen()
/external/toybox/toys/pending/
Ddiff.c181 int rd, wr, tmpfd = mkstemp(tmp_name); in read_stdin() local
183 if (tmpfd == -1) perror_exit("mkstemp"); in read_stdin()
191 wr = writeall(tmpfd, toybuf, rd); in read_stdin()
194 return fdopen(tmpfd, "r"); in read_stdin()