Lines Matching refs:cc
267 int cc, whod;
270 cc = recvfrom(s, (char *)&wd, sizeof(struct whod), 0,
272 if (cc <= 0) {
273 if (cc < 0 && errno != EINTR)
282 if (cc < (int)WHDRSIZE) {
314 int i, n = (cc - WHDRSIZE) / sizeof(struct whoent);
332 (void)write(whod, (char *)&wd, cc);
333 if (fstat(whod, &st) < 0 || st.st_size > cc)
334 (void)ftruncate(whod, cc);
363 int i, cc, utmpent = 0;
411 cc = (char *)we - (char *)&mywd;
416 (void)Sendto(s, (char *)&mywd, cc, 0,
550 Sendto(int s, const void *buf, size_t cc, int flags, const struct sockaddr *to,
558 ret = sendto(s, buf, cc, flags, to, tolen);
567 cc -= WHDRSIZE;
568 for (we = w->wd_we, cc /= sizeof(struct whoent); cc > 0; cc--, we++) {