Lines Matching refs:timeval
68 struct timeval readtimeout;
69 struct timeval writetimeout;
79 /* add the second timeval to the first modifing the first */
80 static inline void tio_tv_add(struct timeval *tv1, const struct timeval *tv2)
92 /* build a timeval for comparison to when the operation should be finished */
93 static inline void tio_tv_prepare(struct timeval *deadline, const struct timeval *timeout)
105 /* update the timeval to the value that is remaining before deadline
107 static inline int tio_tv_remaining(struct timeval *tv, const struct timeval *deadline)
134 TFILE *tio_fdopen(int fd,struct timeval *readtimeout,struct timeval *writetimeout,
181 static int tio_select(TFILE *fp, int readfd, const struct timeval *deadline)
183 struct timeval tv;
231 struct timeval deadline;
373 struct timeval deadline;
393 struct timeval tv;