Lines Matching defs:cc
171 int cc;
176 total = cc = recv(sd, packet, sizeof(struct tprot), 0);
181 if (cc <= 0)
182 return cc;
183 while (cc > 0 && total < expected) {
184 cc = recv(sd, &packet[total], expected - total, 0);
185 if (cc >= 0) {
186 total += cc;
195 if (cc < 0)
196 return cc;
232 int sd, cc, cs;
303 while ((cc = recvtprot(sfd, rpbuf))) {
384 int sd, nfds, maxfd, cc;
425 cc = recv(sd, packet, sizeof(packet), 0);
426 if (cc < 0) {
430 if (cc == 0)
432 if (write(csd[1], packet, cc) < 0) {
440 cc = read(csd[1], buf, sizeof(buf));
441 if (cc == 0)
443 if (cc < 0) {