Lines Matching refs:wrs
179 # define FD_WR_VAR(wrs) struct pollfd wrs
186 # define FD_WR_INIT(sd, wrs) \
187 (wrs).fd = (sd); \
188 (wrs).events = MI_POLL_WR_FLAGS; \
189 (wrs).revents = 0
194 # define FD_IS_WR_RDY(sd, wrs) \
195 (((wrs).revents & MI_POLL_WR_FLAGS) != 0)
201 poll(&(wrs), 1, MI_MS(timeout))
212 # define FD_WR_VAR(wrs) fd_set wrs
220 # define FD_WR_INIT(sd, wrs) \
221 FD_ZERO(&(wrs)); \
222 FD_SET((unsigned int) (sd), &(wrs))
225 # define FD_IS_WR_RDY(sd, wrs) FD_ISSET((sd), &(wrs))
228 # define FD_WR_READY(sd, wrs, timeout) \
229 select((sd) + 1, NULL, &(wrs), NULL, (timeout))