Lines Matching refs:afile
442 int afile; /* file descriptor */
1486 PUSHIO(afile, f, filechar);
4156 PUSHIO(afile, remap(pf[0]),
4650 if ((isatty(e.iop->argp->afile) == 0)
4652 || lseek(e.iop->argp->afile, 0L, SEEK_CUR) != -1)) {
4801 lseek(ap->afile, ap->afpos, SEEK_SET);
4803 i = safe_read(ap->afile, bp->buf, sizeof(bp->buf));
4805 closef(ap->afile);
4818 if (interactive && isatty(ap->afile)) {
4832 i = safe_read(ap->afile, &c, sizeof(c));
4833 return i == sizeof(c) ? (c & 0x7f) : (closef(ap->afile), 0);
4843 if (read(ap->afile, &c, sizeof(c)) != sizeof(c)) {
4844 close(ap->afile);
4900 closef(ap->afile);
4901 ap->afile = -1; /* illegal value */
5107 PUSHIO(afile, hf, herechar);
5308 PUSHIO(afile, 0, iof);