Lines Matching refs:cc
860 int cc;
868 cc = write(mgr->pipe_fds[1], buf, sizeof(buf));
874 if (cc < 0 && errno == ENOSR) {
879 } while (cc < 0 && SOFT_ERROR(errno));
881 if (cc < 0) {
891 INSIST(cc == sizeof(buf));
900 int cc;
903 cc = read(mgr->pipe_fds[0], buf, sizeof(buf));
904 if (cc < 0) {
920 INSIST(cc == sizeof(buf));
1472 int cc;
1487 cc = recvmsg(sock->fd, &msghdr, 0);
1494 if (cc < 0) {
1504 sock->fd, cc, recv_errno, strbuf);
1562 if (cc == 0)
1595 if ((sock->type == isc_sockettype_udp) && ((size_t)cc > read_count)) {
1597 cc--;
1611 dev->n += cc;
1612 actual_count = cc;
1636 if (((size_t)cc != read_count) && (dev->n < dev->minimum))
1661 int cc;
1673 cc = sendmsg(sock->fd, &msghdr, 0);
1679 if (cc < 0) {
1740 if (cc == 0) {
1752 dev->n += cc;
1753 if ((size_t)cc != write_count)
3533 int cc;
3561 cc = kevent(manager->kqueue_fd, NULL, 0,
3564 cc = epoll_wait(manager->epoll_fd, manager->events,
3577 cc = ioctl(manager->devpoll_fd, DP_POLL, &dvp);
3587 cc = select(maxfd, manager->read_fds_copy,
3591 if (cc < 0 && !SOFT_ERROR(errno)) {
3602 if (cc == 0) {
3607 } else if (cc > 0) {
3626 } while (cc < 0);
3629 done = process_fds(manager, manager->events, cc);
4969 int cc;
5004 cc = connect(sock->fd, &addr->type.sa, addr->length);
5005 if (cc < 0) {
5013 cc = 0;
5064 if (cc == 0) {
5111 int cc;
5152 optlen = sizeof(cc);
5154 (void *)&cc, (void *)&optlen) < 0)
5155 cc = errno;
5157 errno = cc;