Lines Matching refs:winop
237 struct win32op *winop;
239 if (!(winop = calloc(1, sizeof(struct win32op))))
241 winop->fd_setsz = NEVENT;
243 if (!(winop->readset_in = malloc(size)))
245 if (!(winop->writeset_in = malloc(size)))
247 if (!(winop->readset_out = malloc(size)))
249 if (!(winop->writeset_out = malloc(size)))
251 if (!(winop->exset_out = malloc(size)))
253 RB_INIT(&winop->event_root);
254 winop->readset_in->fd_count = winop->writeset_in->fd_count = 0;
255 winop->readset_out->fd_count = winop->writeset_out->fd_count
256 = winop->exset_out->fd_count = 0;
259 winop->signals_are_broken = 1;
261 return (winop);
263 XFREE(winop->readset_in);
264 XFREE(winop->writeset_in);
265 XFREE(winop->readset_out);
266 XFREE(winop->writeset_out);
267 XFREE(winop->exset_out);
268 XFREE(winop);