Lines Matching refs:rdcount
301 int fd, here = 0, rdcount = 0, *rd = 0, *rr, hfd = 0;
347 if (!(rdcount&31)) {
349 rd = xrealloc(rd, (2*rdcount+3+2*32)*sizeof(int *));
352 rr = rd+3+rdcount;
384 rdcount++;
403 rdcount++;
422 rdcount++;
451 rdcount++;
455 if (!(31&++rdcount)) rd = xrealloc(rd, (2*rdcount+66)*sizeof(int *));
456 rr = rd+3+rdcount;
459 rdcount++;
462 if (rd) rd[2] = rdcount;
464 // TODO: ok, now _use_ in_rd[in_rdcount] and rd[rdcount]. :)
512 for (j = 0; j<rdcount; j++) if (rd[4+2*j]>6) close(rd[4+2*j]>>1);
513 if (rdcount) free(dlist_lpop((void *)rdlist));