Home
last modified time | relevance | path

Searched refs:malf (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/mail/
H A Dprintmail.c114 malf = fopen(mailfile, "r"); in printmail()
119 if (stret == CSUCCESS && malf == NULL) { in printmail()
129 if (!nsmbox && flgf && (malf == NULL)) { in printmail()
136 else if ((malf == NULL) || (stbuf.st_size == 0)) { in printmail()
164 copymt(malf, tmpf); in printmail()
166 fclose(malf); in printmail()
221 malf = doopen(mailfile, "r", E_FILE); in printmail()
224 fseek(malf, let[nlet].adr, 0); in printmail()
225 copymt(malf, tmpf); in printmail()
227 fclose(malf); in printmail()
[all …]
H A Dmkdead.c40 malf = (FILE *)NULL; in mkdead()
55 malf = fopen(dotdead, "a"); in mkdead()
56 if ((malf == NULL) || (aret == 0)) { in mkdead()
68 malf = fopen(hmdead, "a"); in mkdead()
69 if ((malf == NULL) || (aret == 0)) { in mkdead()
97 if (!copystream(tmpf, malf)) in mkdead()
99 fclose(malf); in mkdead()
H A Dcopyback.c61 malf = doopen(mailfile, "r", E_FILE); in copyback()
62 fseek(malf, let[nlet].adr, 0); in copyback()
68 if (!copystream(malf, tmpf)) { in copyback()
69 fclose(malf); in copyback()
73 fclose(malf); in copyback()
109 if ((malf = fopen(savefile, "w")) == NULL) { in copyback()
132 if (copylet(i, malf, ORDINARY) == FALSE) { in copyback()
141 fclose(malf); in copyback()
H A Dsendlist.c147 FILE *malf; in send_mbox() local
184 if ((malf = fdopen(mbfd, "a")) != NULL) { in send_mbox()
186 "%s@%d\n", mbox, ftell(malf)); in send_mbox()
187 rc = copylet(letnum, malf, ORDINARY); in send_mbox()
188 fclose(malf); in send_mbox()
H A Dinit.c193 FILE *malf; /* File pointer for mailfile */ variable
H A Dmail.h414 extern FILE *malf; /* File pointer for mailfile */