Searched refs:mbfd (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/mail/ |
H A D | createmf.c | 71 int mbfd; local 75 mbfd = open(path, 83 if (mbfd == -1) { 103 mbfd = open(path, O_APPEND|O_WRONLY, 0); 104 if (mbfd != -1 && 105 (fstat(mbfd, &fsb) || fsb.st_nlink != 1 || 110 (void)close(mbfd); 115 if (mbfd == -1) { 120 return mbfd;
|
H A D | sendlist.c | 146 int mbfd; local 176 mbfd = accessmf(file); 177 if (mbfd == -1) { /* mail box access failed, bail out */ 184 if ((malf = fdopen(mbfd, "a")) != NULL) {
|
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | mail.local.c | 740 int mbfd = -1, nr, nw = 0, off; local 813 mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY, 815 if (mbfd != -1) 816 (void) fchmod(mbfd, 0660); 819 if (mbfd == -1) { 832 mbfd = open(path, O_APPEND|O_WRONLY, 0); 833 if (mbfd != -1 && 834 (fstat(mbfd, &fsb) || fsb.st_nlink != 1 || 844 if (mbfd == -1) { 855 curoff = lseek(mbfd, (off_ [all...] |
Completed in 59 milliseconds