Lines Matching refs:hfd
116 static int bfd, hfd; /* temp file */ variable
214 deliver(hfd, bfd, *argv, bouncequota);
387 if (bfd == -1 || hfd == -1)
394 deliver(hfd, bfd, rcpt_addr[i],
398 close(hfd);
537 hfd = -1;
559 if ((hfd = mkstemp(htn)) == -1 || (hfp = fdopen(hfd, "w+")) == NULL) {
560 if (hfd != -1)
561 (void) close(hfd);
708 if ((newfd = dup(hfd)) >= 0) {
710 hfd = newfd;
733 deliver(hfd, bfd, name, bouncequota) in deliver() argument
734 int hfd; in deliver()
859 if (lseek(hfd, (off_t)0, SEEK_SET) == (off_t)-1) {
878 while ((nr = read(hfd, buf, sizeof (buf))) > 0)