Lines Matching refs:wfds
540 fd_set *rfds, *wfds, *efds;
548 if ((wfds = mkfdset()) == NULL) {
557 free(wfds);
564 zerofdset(wfds);
568 descriptor_UpdateSet(&bundle->desc, rfds, wfds, efds, &nfds);
589 i = select(nfds, rfds, wfds, efds, NULL);
601 if (select(nfds, rfds, wfds, efds, &t) != -1) {
606 if (FD_ISSET(i, wfds)) {
608 FD_CLR(i, wfds);
610 if (select(nfds, rfds, wfds, efds, &t) != -1) {
619 if (select(nfds, rfds, wfds, efds, &t) != -1) {
661 if (descriptor_IsSet(&bundle->desc, wfds))
662 if (descriptor_Write(&bundle->desc, bundle, wfds) <= 0 && nothing_done) {