Lines Matching refs:timeout
82 "[t:timeout?Set the master read timeout to "
311 process(Sfio_t* mp, Sfio_t* lp, int delay, int timeout)
325 t = timeout;
455 masterline(Sfio_t* mp, Sfio_t* lp, char* prompt, int must, int timeout, Master_t* bp)
523 if ((n = sfpoll(&mp, 1, timeout)) <= 0 || !((int)sfvalue(mp) & SF_READ))
551 error(2, "read timeout");
711 dialogue(Sfio_t* mp, Sfio_t* lp, int delay, int timeout)
759 if (master->prompt && !masterline(mp, lp, master->prompt, 0, timeout, master))
790 if ((cond->prev->flags & SKIP) && !(cond->text = 0) || !(cond->text = masterline(mp, lp, 0, 0, timeout, master)))
844 if (!(m = masterline(mp, lp, s, 1, timeout, master)))
850 if (!(m = masterline(mp, lp, 0, s[0] == '?' && s[1] == '.' ? -1 : 1, timeout, master)))
862 timeout = (int)strtol(s, &e, 0);
864 error(2, "%s: invalid timeout -- milliseconds expected", s);
871 if (!(m = masterline(mp, lp, 0, -1, timeout, master)))
970 int timeout = 1000;
994 timeout = (int)opt_info.num;
1064 slave = (*fun)(mp, lp, delay, timeout);