Home
last modified time | relevance | path

Searched refs:mailsize (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/bin/sh/
H A Dmail.c65 STATIC off_t mailsize[MAXMBOXES]; /* sizes of mailboxes */ variable
114 if (statb.st_size > mailsize[i] && ! silent) { in chkmail()
139 mailsize[i] = statb.st_size; in chkmail()
/netbsd-src/usr.bin/mail/
H A Dquit.c175 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) { in edstop()
193 (void)fseek(ibuf, (long)mailsize, 0); in edstop()
322 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) { in quit()
333 (void)fseek(fbuf, (long)mailsize, 0); in quit()
337 p = minfo.st_size - mailsize; in quit()
H A Dlex.c278 mailsize = fsize(ibuf); in setfile()
291 * the mail file, so reset mailsize to be where in setfile()
294 mailsize = ftell(ibuf); in setfile()
328 newsize < mailsize) { /* mail box has shrunk??? */ in incfile()
332 if (newsize == mailsize) { in incfile()
336 setptr(ibuf, mailsize); /* read in new mail */ in incfile()
338 mailsize = ftell(ibuf); in incfile()
H A Dglob.h68 EXTERN off_t mailsize; /* Size of system mailbox */ variable