Lines Matching defs:tmpfd
671 int fd = -1, tmpfd = -1;
695 tmpfd = mkstemp(tempfn);
697 if (tmpfd == -1) {
704 ret = download_file(uri, proxy, proxy_port, maxsecs, tmpfd);
705 (void) close(tmpfd);
745 int fd = -1, tmpfd = -1;
770 tmpfd = mkstemp(tempfn);
772 if (tmpfd == -1) {
779 ret = download_file(uri, proxy, proxy_port, maxsecs, tmpfd);
780 (void) close(tmpfd);