Searched refs:malf (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/cmd/mail/ |
H A D | printmail.c | 114 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 D | mkdead.c | 40 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 D | copyback.c | 61 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 D | sendlist.c | 147 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 D | init.c | 193 FILE *malf; /* File pointer for mailfile */ variable
|
H A D | mail.h | 414 extern FILE *malf; /* File pointer for mailfile */
|