Lines Matching defs:tm
40 ssize_t sfpkrd(int fd, Void_t* argbuf, size_t n, int rc, long tm, int action)
42 ssize_t sfpkrd(fd, argbuf, n, rc, tm, action)
47 long tm; /* time-out */
58 if(rc < 0 && tm < 0 && action <= 0)
73 if((t&STREAM_PEEK) && (ntry == 1 || tm < 0) )
108 while(tm >= 0 || action > 0 ||
122 if((r = SFPOLL(&po,1,tm)) < 0)
144 if(tm < 0)
148 tmb.tv_sec = tm/SECOND;
149 tmb.tv_usec = (tm%SECOND)*SECOND;
168 long nsec = tm < 0 ? 0 : (tm+999)/1000;
197 else if(tm >= 0) /* timeout exceeded */
255 { if(tm >= 0 || action > 0)
257 else /* get here means: tm < 0 && action <= 0 && rc >= 0 */