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

/ast/src/cmd/mailx/
H A Dlex.c183 state.mailsize = filesize(ibuf);
187 * so reset mailsize to be where we really are in the file...
189 state.mailsize = ftell(ibuf);
224 if (newsize < state.mailsize)
226 if (newsize == state.mailsize)
228 setptr(fp, state.mailsize);
229 state.mailsize = ftell(fp);
H A Dquit.c193 if (stat(state.path.mail, &st) >= 0 && st.st_size > state.mailsize) {
206 fseek(ibuf, state.mailsize, SEEK_SET);
371 if (size > state.mailsize) {
376 fseek(fbuf, state.mailsize, SEEK_SET);
379 if (filecopy(NiL, fbuf, NiL, rbuf, NiL, (off_t)(size - state.mailsize), NiL, NiL, 0))
H A Dmailx.h646 off_t mailsize; /* Size of system mailbox */ member in struct:__anon136
H A Dfio.c373 state.mailsize = 0;

Completed in 58 milliseconds