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

/ast/src/cmd/builtin/
H A Dpty.c319 Sfio_t* sps[2]; local
327 sps[i++] = mp;
330 sps[i++] = ip;
335 if ((n = sfpoll(sps, i, t)) <= 0)
345 if (!(sfvalue(sps[i]) & SF_READ))
347 else if (sps[i] == mp)
/ast/src/cmd/nmake/
H A Dparse.c558 Sfio_t* sps[2]; local
619 sps[0] = pp->fp;
620 sps[1] = state.coshell->msgfp;
621 if ((n = sfpoll(sps, 2, -1)) <= 0)
623 if (sps[0] == state.coshell->msgfp || n > 1 && sps[1] == state.coshell->msgfp)
625 } while (sps[0] != pp->fp && (n <= 1 || sps[1] != pp->fp));

Completed in 42 milliseconds