Home
last modified time | relevance | path

Searched refs:mbfd (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dcreatemf.c69 int mbfd; local
73 mbfd = open(path,
81 if (mbfd == -1) {
101 mbfd = open(path, O_APPEND|O_WRONLY, 0);
102 if (mbfd != -1 &&
103 (fstat(mbfd, &fsb) || fsb.st_nlink != 1 ||
108 (void)close(mbfd);
113 if (mbfd == -1) {
118 return mbfd;
H A Dsendlist.c144 int mbfd; in send_mbox() local
174 mbfd = accessmf(file); in send_mbox()
175 if (mbfd == -1) { /* mail box access failed, bail out */ in send_mbox()
182 if ((malf = fdopen(mbfd, "a")) != NULL) { in send_mbox()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmail.local.c813 if (mbfd != -1)
817 if (mbfd == -1) {
831 if (mbfd != -1 &&
842 if (mbfd == -1) {
923 if (fsync(mbfd)) {
925 err2: if (mbfd >= 0)
948 if (close(mbfd))
952 if (mbfd < 0 ||
964 if (mbfd >= 0)
966 (void) close(mbfd);
[all …]