Searched refs:xbuf (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/mailx/
H A Dquit.c336 FILE* xbuf; local
442 xbuf = 0;
443 if (x && (!state.var.spamlog || !*state.var.spamlog || !(xbuf = fileopen(xbox = expand(state.var.spamlog, 1), "a"))))
449 if (xbuf && (mp->m_flag & (MSPAM|MDELETE)) == (MSPAM|MDELETE)) {
450 if (copy(mp, xbuf, &state.saveignore, NiL, 0) < 0) {
456 if (xbuf) {
457 fileclose(xbuf);
471 fileclose(xbuf);
489 fileclose(xbuf);
497 fileclose(xbuf);
[all...]
/ast/src/lib/libast/misc/
H A Dmagic.c159 char xbuf[SF_BUFSIZE + 1]; /* indirect file data */ \
173 int xbsz; /* xbuf size */ \
176 long xoff; /* xbuf offset */ \
301 if ((mp->xbsz = sfread(mp->fp, mp->xbuf, sizeof(mp->xbuf) - 1)) < 0)
307 mp->xbuf[mp->xbsz] = 0;
312 return mp->xbuf + off - mp->xoff;

Completed in 15 milliseconds