Lines Matching defs:iop
61 static void readhere ARGS((struct ioword *iop));
632 struct ioword *iop =
633 (struct ioword *) alloc(sizeof(*iop), ATEMP);
636 iop->unit = dp[1] - '0';
638 iop->unit = c == '>'; /* 0 for <, 1 for > */
643 iop->flag = c == c2 ?
645 if (iop->flag == IOHERE) {
647 iop->flag |= IOSKIP;
653 iop->flag = IODUP | (c == '<' ? IORDUP : 0);
655 iop->flag = c == '>' ? IOWRITE : IOREAD;
657 iop->flag |= IOCLOB;
662 iop->name = (char *) 0;
663 iop->delim = (char *) 0;
664 iop->heredoc = (char *) 0;
666 yylval.iop = iop;
780 readhere(iop)
781 struct ioword *iop;
791 eof = evalstr(iop->delim, 0);
793 if (!(iop->flag & IOEVAL))
800 skiptabs = iop->flag & IOSKIP;
832 iop->heredoc = Xclose(xs, xp);
834 if (!(iop->flag & IOEVAL))